about summary refs log tree commit diff
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-04-04 10:58:07 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-04-04 10:58:07 +0530
commit29582d39bd67b2c3f7a9e05e2eecf4db52097fc5 (patch)
treec00e7cdcf00cdc06ccada84e0c1faa1cc0540706
parent61e0aafa3daf0d4acc6546fcbf0c4b958e7111ed (diff)
parenteb2a6d9866c4bb662d7ca5d735a6b25801c2f2f9 (diff)
downloadrust-29582d39bd67b2c3f7a9e05e2eecf4db52097fc5.tar.gz
rust-29582d39bd67b2c3f7a9e05e2eecf4db52097fc5.zip
Rollup merge of #24040 - hackaugusto:patch-1, r=steveklabnik
-rw-r--r--src/doc/trpl/closures.md3
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