fix export FutureExt

This commit is contained in:
k-nasa 2019-10-16 22:38:28 +09:00
parent 358d2bc038
commit 9d55fff81d
2 changed files with 1 additions and 2 deletions

View file

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

View file

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