From c62b7a0ba9b3161836a1471599444b42e3bee6b0 Mon Sep 17 00:00:00 2001 From: Stjepan Glavina Date: Sun, 22 Sep 2019 17:06:00 +0200 Subject: [PATCH] Fix warnings --- src/stream/stream/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/stream/stream/mod.rs b/src/stream/stream/mod.rs index b209f44..0348b6a 100644 --- a/src/stream/stream/mod.rs +++ b/src/stream/stream/mod.rs @@ -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; } }