mirror of
https://github.com/async-rs/async-std.git
synced 2025-01-16 10:49:55 +00:00
fix export FutureExt
This commit is contained in:
parent
358d2bc038
commit
9d55fff81d
2 changed files with 1 additions and 2 deletions
|
@ -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…
Reference in a new issue