Skip to content

Commit 29582d3

Browse files
committed
Rollup merge of #24040 - hackaugusto:patch-1, r=steveklabnik
2 parents 61e0aaf + eb2a6d9 commit 29582d3

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/doc/trpl/closures.md

-3
Original file line numberDiff line numberDiff line change
@@ -175,9 +175,6 @@ we called `add_num`, it mutated the underlying value, as we'd expect. We also
175175
needed to declare `add_num` as `mut` too, because we’re mutating its
176176
environment.
177177

178-
We also had to declare `add_num` as mut, since we will be modifying its
179-
environment.
180-
181178
If we change to a `move` closure, it's different:
182179

183180
```rust

0 commit comments

Comments
 (0)