diff --git a/src/future/mod.rs b/src/future/mod.rs index 9b75533d3..d918ef083 100644 --- a/src/future/mod.rs +++ b/src/future/mod.rs @@ -48,17 +48,14 @@ cfg_alloc! { pub use future::Future; - pub(crate) mod future; -} - -cfg_std! { + pub use ready::ready; pub use pending::pending; pub use poll_fn::poll_fn; - pub use ready::ready; + pub(crate) mod future; + mod ready; mod pending; mod poll_fn; - mod ready; } cfg_default! {