From 2869a80130b856543724a3280d4a4284b5345d9d Mon Sep 17 00:00:00 2001 From: Keijia Date: Fri, 20 Aug 2021 17:04:42 +0300 Subject: [PATCH] oh, use None != proto instead of proto.is_some() --- src/stream.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stream.rs b/src/stream.rs index 377c812..31c1db7 100644 --- a/src/stream.rs +++ b/src/stream.rs @@ -412,7 +412,7 @@ pub(crate) fn connect_host(unit: &Unit, hostname: &str, port: u16) -> Result