]> git.lizzy.rs Git - rust.git/blob - library/core/src/iter/sources.rs
Auto merge of #94570 - shampoofactory:reopen-91719, r=workingjubilee
[rust.git] / library / core / src / iter / sources.rs
1 mod empty;
2 mod from_fn;
3 mod once;
4 mod once_with;
5 mod repeat;
6 mod repeat_with;
7 mod successors;
8
9 #[stable(feature = "rust1", since = "1.0.0")]
10 pub use self::repeat::{repeat, Repeat};
11
12 #[stable(feature = "iter_empty", since = "1.2.0")]
13 pub use self::empty::{empty, Empty};
14
15 #[stable(feature = "iter_once", since = "1.2.0")]
16 pub use self::once::{once, Once};
17
18 #[stable(feature = "iterator_repeat_with", since = "1.28.0")]
19 pub use self::repeat_with::{repeat_with, RepeatWith};
20
21 #[stable(feature = "iter_from_fn", since = "1.34.0")]
22 pub use self::from_fn::{from_fn, FromFn};
23
24 #[stable(feature = "iter_successors", since = "1.34.0")]
25 pub use self::successors::{successors, Successors};
26
27 #[stable(feature = "iter_once_with", since = "1.43.0")]
28 pub use self::once_with::{once_with, OnceWith};