trpl-docs: Specify correct type of variable binding
This commit is contained in:
parent
b1bd3a3c51
commit
b4e1ce56a3
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@
|
|||
Rust also has a `while` loop. It looks like this:
|
||||
|
||||
```{rust}
|
||||
let mut x = 5; // mut x: u32
|
||||
let mut x = 5; // mut x: i32
|
||||
let mut done = false; // mut done: bool
|
||||
|
||||
while !done {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue