🍱 docs: change the codeblock example

This commit is contained in:
welpo 2023-02-11 19:38:59 +01:00
parent d412eae7df
commit f6cd7d3cf2
No known key found for this signature in database
GPG Key ID: A2F978CF4EC1F5A6

View File

@ -9,13 +9,7 @@ tags = ["markdown", "test"]
```rust ```rust
fn main() { fn main() {
let number: u8 = 4; println!("Hello, world!") -> ();
match number {
i if i == 0 => println!("Zero"),
i if i > 0 => println!("Greater than zero")
i if i <= 0 => println!("Smaller or equal to zero"),
}
} }
``` ```
## Quote ## Quote