Add feature(iter_once_with)
This commit is contained in:
parent
7c083a8fed
commit
84718c1999
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user