diff --git a/src/client/conn.rs b/src/client/conn.rs index 3c7b3f2..3e38841 100644 --- a/src/client/conn.rs +++ b/src/client/conn.rs @@ -107,7 +107,7 @@ impl NetConnection { /// Panics because SSL support is not compiled in. #[cfg(not(feature = "ssl"))] - fn connect_ssl_internal(host: &str, port: u16) -> Result { + fn connect_ssl_internal(host: &str, port: u16) -> Result { panic!( "Cannot connect to {}:{} over SSL without compiling with SSL support.", host,