1
Fork 0

Add another feature(iter_once_with)

This commit is contained in:
Stjepan Glavina 2019-01-14 17:36:34 +01:00
parent 84718c1999
commit 3a1f0131a6

View file

@ -461,6 +461,8 @@ unsafe impl<A, F: FnOnce() -> A> TrustedLen for OnceWith<F> {}
/// `.foorc`:
///
/// ```no_run
/// #![feature(iter_once_with)]
///
/// use std::iter;
/// use std::fs;
/// use std::path::PathBuf;