Rollup merge of #25404 - dnaeon:doc-fixes, r=steveklabnik

This PR fixes a comment in the `while Loops` section of the Rust book with the correct type of a variable binding.
This commit is contained in:
Steve Klabnik 2015-05-14 20:30:41 -04:00
commit 1f40cde836

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 {