Skip to content

Commit 98a2ca0

Browse files
authored
Merge pull request #335 from BillXWB/master
Fix a syntax error in leaking.md
2 parents 9493715 + 3273396 commit 98a2ca0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/leaking.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ Usage looked like:
209209
```rust,ignore
210210
let mut data = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
211211
{
212-
let guards = vec![];
212+
let mut guards = vec![];
213213
for x in &mut data {
214214
// Move the mutable reference into the closure, and execute
215215
// it on a different thread. The closure has a lifetime bound

0 commit comments

Comments
 (0)