mirror of
https://github.com/rust-lang/mdBook
synced 2025-03-04 15:17:11 +00:00
Fix inconsistent between bash version and rust version of the sample
In the bash version, `y` have value 6, while rust version it has value 7
This commit is contained in:
parent
e440094b37
commit
efb13d7bc1
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ Will render as
|
|||
```rust
|
||||
# fn main() {
|
||||
let x = 5;
|
||||
let y = 7;
|
||||
let y = 6;
|
||||
|
||||
println!("{}", x + y);
|
||||
# }
|
||||
|
|
Loading…
Add table
Reference in a new issue