Skip to content

Commit

Permalink
fix a compile error in iter_any.md (#1576)
Browse files Browse the repository at this point in the history
  • Loading branch information
KANIYONIKA authored Jul 26, 2022
1 parent d68cb4d commit ee688e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fn/closures/closure_examples/iter_any.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 value.
F: FnMut(Self::Item) -> bool {}
F: FnMut(Self::Item) -> bool;
}
```

Expand Down

0 comments on commit ee688e4

Please sign in to comment.