diff --git a/src/fn/closures/closure_examples/iter_find.md b/src/fn/closures/closure_examples/iter_find.md index df2208d59d..0a79f7c9dd 100644 --- a/src/fn/closures/closure_examples/iter_find.md +++ b/src/fn/closures/closure_examples/iter_find.md @@ -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; } ```