We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffcd4d8 commit ae1bd54Copy full SHA for ae1bd54
src/fn/closures/closure_examples/iter_find.md
@@ -15,7 +15,7 @@ pub trait Iterator {
15
// `FnMut` meaning any captured variable may at most be
16
// modified, not consumed. `&Self::Item` states it takes
17
// arguments to the closure by reference.
18
- P: FnMut(&Self::Item) -> bool {}
+ P: FnMut(&Self::Item) -> bool;
19
}
20
```
21
0 commit comments