Add feature(iter_once_with)

This commit is contained in:
Stjepan Glavina 2019-01-14 17:20:41 +01:00
parent 7c083a8fed
commit 84718c1999

View File

@ -443,6 +443,8 @@ unsafe impl<A, F: FnOnce() -> A> TrustedLen for OnceWith<F> {}
/// Basic usage:
///
/// ```
/// #![feature(iter_once_with)]
///
/// use std::iter;
///
/// // one is the loneliest number