summaryrefslogtreecommitdiffstats
path: root/tokio/src/park/either.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tokio/src/park/either.rs')
-rw-r--r--tokio/src/park/either.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/tokio/src/park/either.rs b/tokio/src/park/either.rs
index c66d1213..ee02ec15 100644
--- a/tokio/src/park/either.rs
+++ b/tokio/src/park/either.rs
@@ -1,3 +1,5 @@
+#![cfg_attr(not(feature = "full"), allow(dead_code))]
+
use crate::park::{Park, Unpark};
use std::fmt;