summaryrefslogtreecommitdiffstats
path: root/tokio/tests/tcp_peek.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tokio/tests/tcp_peek.rs')
-rw-r--r--tokio/tests/tcp_peek.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tokio/tests/tcp_peek.rs b/tokio/tests/tcp_peek.rs
index 34f1ba3a..c5781daf 100644
--- a/tokio/tests/tcp_peek.rs
+++ b/tokio/tests/tcp_peek.rs
@@ -1,4 +1,5 @@
#![warn(rust_2018_idioms)]
+#![cfg(feature = "full")]
use tokio::io::AsyncReadExt;
use tokio::net::TcpStream;