Skip to content

Commit 3a1f013

Browse files
author
Stjepan Glavina
committed
Add another feature(iter_once_with)
1 parent 84718c1 commit 3a1f013

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/libcore/iter/sources.rs

+2
Original file line numberDiff line numberDiff line change
@@ -461,6 +461,8 @@ unsafe impl<A, F: FnOnce() -> A> TrustedLen for OnceWith<F> {}
461461
/// `.foorc`:
462462
///
463463
/// ```no_run
464+
/// #![feature(iter_once_with)]
465+
///
464466
/// use std::iter;
465467
/// use std::fs;
466468
/// use std::path::PathBuf;

0 commit comments

Comments
 (0)