Skip to content

Commit c533d5f

Browse files
committed
implement feedback & fix tests
Signed-off-by: Yoshua Wuyts <[email protected]>
1 parent 2964e72 commit c533d5f

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,4 @@ matrix:
6464

6565
script:
6666
- cargo check --features unstable --all --benches --bins --examples --tests
67-
- cargo test --features unstable --all
67+
- cargo test --all --docs --features unstable

src/lib.rs

+1-4
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,10 @@ pub mod task;
5656

5757
cfg_if! {
5858
if #[cfg(any(feature = "unstable", feature = "docs"))] {
59+
pub mod pin;
5960
mod vec;
6061
mod result;
6162
}
6263
}
6364

64-
#[cfg_attr(feature = "docs", doc(cfg(unstable)))]
65-
#[cfg(feature = "unstable")]
66-
pub mod pin;
67-
6865
pub(crate) mod utils;

src/stream/stream/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ cfg_if! {
9696
($a:lifetime, $o:ty) => (DynFuture<$a, $o>);
9797
}
9898
} else {
99+
#[allow(unused_macros)]
99100
macro_rules! dyn_ret {
100101
($a:lifetime, $o:ty) => (Pin<Box<dyn core::future::Future<Output = $o> + Send + 'a>>)
101102
}

0 commit comments

Comments
 (0)