2
0
Fork 1
mirror of https://github.com/async-rs/async-std.git synced 2025-02-28 15:19:41 +00:00

Fix warnings

This commit is contained in:
Stjepan Glavina 2019-09-22 17:06:00 +02:00
parent 73d7fea937
commit c62b7a0ba9

View file

@ -66,14 +66,14 @@ pub use zip::Zip;
use std::cmp::Ordering;
use std::marker::PhantomData;
use std::pin::Pin;
use cfg_if::cfg_if;
use crate::future::Future;
cfg_if! {
if #[cfg(any(feature = "unstable", feature = "docs"))] {
use std::pin::Pin;
use crate::future::Future;
use crate::stream::FromStream;
}
}