We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
fold_ok
1 parent 8cef71f commit a104321Copy full SHA for a104321
src/lib.rs
@@ -2373,7 +2373,9 @@ pub trait Itertools: Iterator {
2373
/// For example the sequence *Ok(1), Ok(2), Ok(3)* will result in a
2374
/// computation like this:
2375
///
2376
- /// ```ignore
+ /// ```no_run
2377
+ /// # let start = 0;
2378
+ /// # let f = |x, y| x + y;
2379
/// let mut accum = start;
2380
/// accum = f(accum, 1);
2381
/// accum = f(accum, 2);
0 commit comments