Rollup merge of #24040 - hackaugusto:patch-1, r=steveklabnik

This commit is contained in:
Manish Goregaokar 2015-04-04 10:58:07 +05:30
commit 29582d39bd
1 changed files with 0 additions and 3 deletions

View File

@ -175,9 +175,6 @@ we called `add_num`, it mutated the underlying value, as we'd expect. We also
needed to declare `add_num` as `mut` too, because were mutating its
environment.
We also had to declare `add_num` as mut, since we will be modifying its
environment.
If we change to a `move` closure, it's different:
```rust