diff --git a/src/fn/closures/closure_examples/iter_any.md b/src/fn/closures/closure_examples/iter_any.md index d2ad929f3d..fe7fc39f85 100644 --- a/src/fn/closures/closure_examples/iter_any.md +++ b/src/fn/closures/closure_examples/iter_any.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 value. - F: FnMut(Self::Item) -> bool {} + F: FnMut(Self::Item) -> bool; } ```