From be8e9d898d1ab12468b8b69834d3d19329733978 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 17 Jun 2020 19:55:39 +0300 Subject: [PATCH] Don't declare internal port function when only the async-tls feature is enabled warning: function is never used: `port` --> src/lib.rs:381:15 | 381 | pub(crate) fn port( | ^^^^ | = note: `#[warn(dead_code)]` on by default warning: 1 warning emitted --- src/lib.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 427a212..af99e04 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -371,7 +371,6 @@ pub(crate) fn domain( } #[cfg(any( - feature = "async-tls", feature = "async-std-runtime", feature = "tokio-runtime", feature = "gio-runtime"