trpl-docs: Specify correct type of variable binding

This commit is contained in:
Marin Atanasov Nikolov 2015-05-14 17:38:22 +03:00
parent b1bd3a3c51
commit b4e1ce56a3

View file

@ -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 {