Skip to content

Commit ae1bd54

Browse files
authored
fix a compile error (#1578)
1 parent ffcd4d8 commit ae1bd54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fn/closures/closure_examples/iter_find.md

Lines changed: 1 addition & 1 deletion
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 reference.
18-
P: FnMut(&Self::Item) -> bool {}
18+
P: FnMut(&Self::Item) -> bool;
1919
}
2020
```
2121

0 commit comments

Comments
 (0)