diff options
| author | joseLuís <joseluis@andamira.net> | 2025-01-18 16:01:54 +0100 |
|---|---|---|
| committer | joseLuís <joseluis@andamira.net> | 2025-01-18 16:35:54 +0100 |
| commit | f02c3f82f793b55879aa9449fe08fec435da046a (patch) | |
| tree | c9df43954feea962f4744f67c86f31c1c5f85f10 /library/core/src | |
| parent | bd62a452f45c2386275c5469f9ae390e7de2dc6f (diff) | |
| download | rust-f02c3f82f793b55879aa9449fe08fec435da046a.tar.gz rust-f02c3f82f793b55879aa9449fe08fec435da046a.zip | |
re-export `core::iter::FromCoroutine`
Diffstat (limited to 'library/core/src')
| -rw-r--r-- | library/core/src/iter/mod.rs | 6 | ||||
| -rw-r--r-- | library/core/src/iter/sources.rs | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/library/core/src/iter/mod.rs b/library/core/src/iter/mod.rs index 635e14e769a..d62a445d704 100644 --- a/library/core/src/iter/mod.rs +++ b/library/core/src/iter/mod.rs @@ -420,14 +420,14 @@ pub use self::adapters::{Intersperse, IntersperseWith}; issue = "42168" )] pub use self::range::Step; +#[stable(feature = "iter_empty", since = "1.2.0")] +pub use self::sources::{Empty, empty}; #[unstable( feature = "iter_from_coroutine", issue = "43122", reason = "coroutines are unstable" )] -pub use self::sources::from_coroutine; -#[stable(feature = "iter_empty", since = "1.2.0")] -pub use self::sources::{Empty, empty}; +pub use self::sources::{FromCoroutine, from_coroutine}; #[stable(feature = "iter_from_fn", since = "1.34.0")] pub use self::sources::{FromFn, from_fn}; #[stable(feature = "iter_once", since = "1.2.0")] diff --git a/library/core/src/iter/sources.rs b/library/core/src/iter/sources.rs index c635992dfbd..1eb4367b183 100644 --- a/library/core/src/iter/sources.rs +++ b/library/core/src/iter/sources.rs @@ -15,7 +15,7 @@ pub use self::empty::{Empty, empty}; issue = "43122", reason = "coroutines are unstable" )] -pub use self::from_coroutine::from_coroutine; +pub use self::from_coroutine::{FromCoroutine, from_coroutine}; #[stable(feature = "iter_from_fn", since = "1.34.0")] pub use self::from_fn::{FromFn, from_fn}; #[stable(feature = "iter_once", since = "1.2.0")] |
