Tracking Issue for Iterator::try_find · Issue #63178 · rust-lang/rust (original) (raw)

Adds try_find to Iterator.

fn try_find<F, E, R>(&mut self, f: F) -> Result<OptionSelf::Item, E> where F: FnMut(&Self::Item) -> R, R: Try<Ok = bool, Error = E>;