From 3883079fa586e77b8e31b2fb4c94ef852890350b Mon Sep 17 00:00:00 2001 From: k-nasa Date: Tue, 4 Feb 2020 18:04:31 +0900 Subject: [PATCH] feat: to no_std future module --- src/future/mod.rs | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) 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! {