fix export FutureExt

yoshuawuyts-patch-1
k-nasa 5 years ago
parent 358d2bc038
commit 9d55fff81d

@ -120,9 +120,9 @@ extension_trait! {
///
/// ```
/// # async_std::task::block_on(async {
/// use async_std::prelude::*;
/// use async_std::future;
/// use std::time::Duration;
/// use async_std::future::FutureExt;
///
/// let a = future::ready(1).delay(Duration::from_millis(2000));
/// dbg!(a.await);

@ -51,7 +51,6 @@ pub use async_macros::{select, try_select};
use cfg_if::cfg_if;
pub use future::Future;
pub use future::FutureExt;
pub use pending::pending;
pub use poll_fn::poll_fn;
pub use ready::ready;

Loading…
Cancel
Save