aboutsummaryrefslogtreecommitdiff
path: root/src/stream/buf_reader.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/stream/buf_reader.rs')
-rw-r--r--src/stream/buf_reader.rs11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/stream/buf_reader.rs b/src/stream/buf_reader.rs
index 512833d..fa7b928 100644
--- a/src/stream/buf_reader.rs
+++ b/src/stream/buf_reader.rs
@@ -1,12 +1,19 @@
use std::io::{self, BufRead, Read};
#[cfg(any(
- features = "futures-03",
+ feature = "futures-03",
feature = "tokio-02",
feature = "tokio-03",
feature = "tokio"
))]
-use std::{mem::MaybeUninit, pin::Pin};
+use std::pin::Pin;
+
+#[cfg(any(
+ feature = "futures-03",
+ feature = "tokio-02",
+ feature = "tokio-03"
+))]
+use std::mem::MaybeUninit;
#[cfg(feature = "futures-core-03")]
use std::task::{Context, Poll};