diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-04-04 10:58:07 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-04-04 10:58:07 +0530 |
| commit | 29582d39bd67b2c3f7a9e05e2eecf4db52097fc5 (patch) | |
| tree | c00e7cdcf00cdc06ccada84e0c1faa1cc0540706 | |
| parent | 61e0aafa3daf0d4acc6546fcbf0c4b958e7111ed (diff) | |
| parent | eb2a6d9866c4bb662d7ca5d735a6b25801c2f2f9 (diff) | |
| download | rust-29582d39bd67b2c3f7a9e05e2eecf4db52097fc5.tar.gz rust-29582d39bd67b2c3f7a9e05e2eecf4db52097fc5.zip | |
Rollup merge of #24040 - hackaugusto:patch-1, r=steveklabnik
| -rw-r--r-- | src/doc/trpl/closures.md | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/doc/trpl/closures.md b/src/doc/trpl/closures.md index 01b8163ffd3..52d07ae465f 100644 --- a/src/doc/trpl/closures.md +++ b/src/doc/trpl/closures.md @@ -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 we’re 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 |
