Skip to content

Commit

Permalink
fix a compile error (#1578)
Browse files Browse the repository at this point in the history
  • Loading branch information
KANIYONIKA authored Jul 26, 2022
1 parent ffcd4d8 commit ae1bd54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fn/closures/closure_examples/iter_find.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ pub trait Iterator {
// `FnMut` meaning any captured variable may at most be
// modified, not consumed. `&Self::Item` states it takes
// arguments to the closure by reference.
P: FnMut(&Self::Item) -> bool {}
P: FnMut(&Self::Item) -> bool;
}
```

Expand Down

0 comments on commit ae1bd54

Please sign in to comment.