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
pull/36/head 0.6.0
Sebastian Dröge 4 years ago committed by Sebastian Dröge
parent e131ec4e8a
commit be8e9d898d
  1. 1
      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"

Loading…
Cancel
Save