mirror of
https://github.com/async-rs/async-std.git
synced 2025-01-31 17:55:35 +00:00
implement feedback & fix tests
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
This commit is contained in:
parent
2964e72b00
commit
c533d5f906
3 changed files with 3 additions and 5 deletions
|
@ -64,4 +64,4 @@ matrix:
|
|||
|
||||
script:
|
||||
- cargo check --features unstable --all --benches --bins --examples --tests
|
||||
- cargo test --features unstable --all
|
||||
- cargo test --all --docs --features unstable
|
||||
|
|
|
@ -56,13 +56,10 @@ pub mod task;
|
|||
|
||||
cfg_if! {
|
||||
if #[cfg(any(feature = "unstable", feature = "docs"))] {
|
||||
pub mod pin;
|
||||
mod vec;
|
||||
mod result;
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg_attr(feature = "docs", doc(cfg(unstable)))]
|
||||
#[cfg(feature = "unstable")]
|
||||
pub mod pin;
|
||||
|
||||
pub(crate) mod utils;
|
||||
|
|
|
@ -96,6 +96,7 @@ cfg_if! {
|
|||
($a:lifetime, $o:ty) => (DynFuture<$a, $o>);
|
||||
}
|
||||
} else {
|
||||
#[allow(unused_macros)]
|
||||
macro_rules! dyn_ret {
|
||||
($a:lifetime, $o:ty) => (Pin<Box<dyn core::future::Future<Output = $o> + Send + 'a>>)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue