Home
last modified time | relevance | path

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

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