mirror of
https://github.com/welpo/tabi.git
synced 2025-10-11 07:46:15 +02:00
🍱 docs: change the codeblock example
This commit is contained in:
parent
d412eae7df
commit
f6cd7d3cf2
1 changed files with 2 additions and 8 deletions
|
@ -9,13 +9,7 @@ tags = ["markdown", "test"]
|
|||
|
||||
```rust
|
||||
fn main() {
|
||||
let number: u8 = 4;
|
||||
|
||||
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"),
|
||||
}
|
||||
println!("Hello, world!") -> ();
|
||||
}
|
||||
```
|
||||
## Quote
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue