📝 docs: improve Code tags example

This commit is contained in:
welpo 2023-08-02 23:30:47 +02:00
parent 672772a700
commit 521a05b97f
No known key found for this signature in database
GPG key ID: A2F978CF4EC1F5A6
3 changed files with 3 additions and 6 deletions

View file

@ -63,8 +63,7 @@ fn main() {
## Code tags
Lorem ipsum `dolor` sit amet, `consectetur adipiscing` elit.
`Lorem ipsum dolor sit amet, consectetur adipiscing elit.`
In Rust, you declare a mutable variable with `let mut x = 5;`, whereas in Python, you simply use `x = 5`. Similarly, to print a value in Rust, you would use `println!("Value: {}", x);`, but in Python, it's as straightforward as `print(f"Value: {x}")`.
## Quote