Update Examples

Glen Whitney 2024-08-27 03:33:32 +00:00
parent 5e533b3c10
commit 4d6e3c2200

@ -1183,7 +1183,6 @@ pub trait Iterator
fn any<F>(&mut self, f: F) -> bool where fn any<F>(&mut self, f: F) -> bool where
F: FnMut(Self::Item) -> bool //! Should we be able to drop the `Self::` here? F: FnMut(Self::Item) -> bool //! Should we be able to drop the `Self::` here?
}
fn main fn main
let vec1 = vec![1, 2, 3] let vec1 = vec![1, 2, 3]