diff --git a/src/fn/closures/closure_examples/iter_any.md b/src/fn/closures/closure_examples/iter_any.md index 4c19caccca..63a25f96fe 100644 --- a/src/fn/closures/closure_examples/iter_any.md +++ b/src/fn/closures/closure_examples/iter_any.md @@ -13,8 +13,9 @@ pub trait Iterator { // and modified, but not consumed. fn any(&mut self, f: F) -> bool where // `FnMut` meaning any captured variable may at most be - // modified, not consumed. `Self::Item` states it takes - // arguments to the closure by value. + // modified, not consumed. `Self::Item` is the closure parameter type, + // which is determined by the iterator (e.g., `&T` for `.iter()`, + // `T` for `.into_iter()`). F: FnMut(Self::Item) -> bool; } ```