Skip to content

Commit

Permalink
feat: to no_std future module
Browse files Browse the repository at this point in the history
  • Loading branch information
k-nasa committed Feb 4, 2020
1 parent 5a89f4c commit a7eaa87
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/future/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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! {
Expand Down

0 comments on commit a7eaa87

Please sign in to comment.