]> git.lizzy.rs Git - rust.git/blob - library/core/src/iter/sources.rs
Rollup merge of #79293 - Havvy:test-eval-order-compound-assign, r=Mark-Simulacrum
[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 pub use self::repeat::{repeat, Repeat};
10
11 #[stable(feature = "iter_empty", since = "1.2.0")]
12 pub use self::empty::{empty, Empty};
13
14 #[stable(feature = "iter_once", since = "1.2.0")]
15 pub use self::once::{once, Once};
16
17 #[stable(feature = "iterator_repeat_with", since = "1.28.0")]
18 pub use self::repeat_with::{repeat_with, RepeatWith};
19
20 #[stable(feature = "iter_from_fn", since = "1.34.0")]
21 pub use self::from_fn::{from_fn, FromFn};
22
23 #[stable(feature = "iter_successors", since = "1.34.0")]
24 pub use self::successors::{successors, Successors};
25
26 #[stable(feature = "iter_once_with", since = "1.43.0")]
27 pub use self::once_with::{once_with, OnceWith};