2020-10-08 01:08:01 +03:00
|
|
|
mod empty;
|
|
|
|
|
mod from_fn;
|
|
|
|
|
mod once;
|
|
|
|
|
mod once_with;
|
|
|
|
|
mod repeat;
|
|
|
|
|
mod repeat_with;
|
|
|
|
|
mod successors;
|
2016-04-18 20:08:27 +02:00
|
|
|
|
2020-10-08 01:08:01 +03:00
|
|
|
pub use self::repeat::{repeat, Repeat};
|
2016-04-18 20:08:27 +02:00
|
|
|
|
|
|
|
|
#[stable(feature = "iter_empty", since = "1.2.0")]
|
2020-10-08 01:08:01 +03:00
|
|
|
pub use self::empty::{empty, Empty};
|
2020-01-18 18:35:36 +01:00
|
|
|
|
2016-04-18 20:08:27 +02:00
|
|
|
#[stable(feature = "iter_once", since = "1.2.0")]
|
2020-10-08 01:08:01 +03:00
|
|
|
pub use self::once::{once, Once};
|
2016-04-18 20:08:27 +02:00
|
|
|
|
2020-10-08 01:08:01 +03:00
|
|
|
#[stable(feature = "iterator_repeat_with", since = "1.28.0")]
|
|
|
|
|
pub use self::repeat_with::{repeat_with, RepeatWith};
|
2018-11-15 13:21:25 +01:00
|
|
|
|
2019-02-19 14:10:07 +01:00
|
|
|
#[stable(feature = "iter_from_fn", since = "1.34.0")]
|
2020-10-08 01:08:01 +03:00
|
|
|
pub use self::from_fn::{from_fn, FromFn};
|
2018-11-15 14:23:20 +01:00
|
|
|
|
2019-02-19 13:58:55 +01:00
|
|
|
#[stable(feature = "iter_successors", since = "1.34.0")]
|
2020-10-08 01:08:01 +03:00
|
|
|
pub use self::successors::{successors, Successors};
|
2018-11-15 14:23:20 +01:00
|
|
|
|
2020-10-08 01:08:01 +03:00
|
|
|
#[stable(feature = "iter_once_with", since = "1.43.0")]
|
|
|
|
|
pub use self::once_with::{once_with, OnceWith};
|