Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add feature(iter_once_with)
  • Loading branch information
Stjepan Glavina committed Jan 14, 2019
1 parent 7c083a8 commit 84718c1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libcore/iter/sources.rs
Expand Up @@ -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
Expand Down

0 comments on commit 84718c1

Please sign in to comment.