Skip to content

Commit 8e1b832

Browse files
Remove deprecated Itertools::fold_results
1 parent 9598760 commit 8e1b832

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/lib.rs

-10
Original file line numberDiff line numberDiff line change
@@ -2322,16 +2322,6 @@ pub trait Itertools: Iterator {
23222322
format::new_format(self, sep, format)
23232323
}
23242324

2325-
/// See [`.fold_ok()`](Itertools::fold_ok).
2326-
#[deprecated(note = "Use .fold_ok() instead", since = "0.10.0")]
2327-
fn fold_results<A, E, B, F>(&mut self, start: B, f: F) -> Result<B, E>
2328-
where
2329-
Self: Iterator<Item = Result<A, E>>,
2330-
F: FnMut(B, A) -> B,
2331-
{
2332-
self.fold_ok(start, f)
2333-
}
2334-
23352325
/// Fold `Result` values from an iterator.
23362326
///
23372327
/// Only `Ok` values are folded. If no error is encountered, the folded

0 commit comments

Comments
 (0)