Auto merge of #25849 - reinh:patch-1, r=huonw

Thanks for the awesome book!

r? @steveklabnik
This commit is contained in:
bors 2015-05-28 11:24:38 +00:00
commit 4233cbda8a

View file

@ -206,7 +206,7 @@ fn main() {
^
```
In other words, the mutable borow is held through the rest of our example. What
In other words, the mutable borrow is held through the rest of our example. What
we want is for the mutable borrow to end _before_ we try to call `println!` and
make an immutable borrow. In Rust, borrowing is tied to the scope that the
borrow is valid for. And our scopes look like this: