Home
last modified time | relevance | path

Searched refs:fold_while (Results 1 – 3 of 3) sorted by relevance

/external/rust/crates/itertools/
DCHANGELOG.md81 - Deprecate `.fold_while()` in favour of std's `.try_fold()`
134 - `.fold_while()` uses `&mut self` and returns `FoldWhile<T>`, for composability #168
226 - Add `.fold_while()`, an iterator method that is a fold that can short-circuit.
/external/rust/crates/itertools/tests/
Dtest_std.rs996 fn fold_while() { in fold_while() function
999 let sum = vec.into_iter().fold_while(0, |acc, item| { in fold_while()
/external/rust/crates/itertools/src/
Dlib.rs2157 fn fold_while<B, F>(&mut self, init: B, mut f: F) -> FoldWhile<B> in fold_while() method