aboutsummaryrefslogtreecommitdiff
path: root/tests/test_reader.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_reader.rs')
-rw-r--r--tests/test_reader.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_reader.rs b/tests/test_reader.rs
index 9c5972a..b5da2c9 100644
--- a/tests/test_reader.rs
+++ b/tests/test_reader.rs
@@ -1,8 +1,9 @@
#![deny(warnings, rust_2018_idioms)]
+#![cfg(feature = "std")]
use std::io::{BufRead, Read};
-use bytes::buf::{BufExt};
+use bytes::buf::BufExt;
#[test]
fn read() {