From c7f5b541cc0923a71ccc89bf54954e3a03328994 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 21 Feb 2018 13:25:34 +0100 Subject: [PATCH] Fix unused import compiler warning in tokio example --- examples/src/bin/tokio.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/src/bin/tokio.rs b/examples/src/bin/tokio.rs index 557562303..6af4f7f60 100644 --- a/examples/src/bin/tokio.rs +++ b/examples/src/bin/tokio.rs @@ -15,7 +15,7 @@ use tokio_core::reactor::Core; #[cfg(feature = "tokio")] use std::env; -#[allow(unused_imports)] +#[cfg(feature = "tokio")] #[path = "../examples-common.rs"] mod examples_common;