Skip to content

Commit ee688e4

Browse files
authored
fix a compile error in iter_any.md (#1576)
1 parent d68cb4d commit ee688e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/fn/closures/closure_examples/iter_any.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ pub trait Iterator {
1515
// `FnMut` meaning any captured variable may at most be
1616
// modified, not consumed. `Self::Item` states it takes
1717
// arguments to the closure by value.
18-
F: FnMut(Self::Item) -> bool {}
18+
F: FnMut(Self::Item) -> bool;
1919
}
2020
```
2121

0 commit comments

Comments
 (0)