Add feature(iter_once_with)
This commit is contained in:
parent
7c083a8fed
commit
84718c1999
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue