From dbaa7d015cf1198d0adb66225b2e5dd09694788a Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Fri, 25 Oct 2024 09:59:58 +0200 Subject: [PATCH] Lowercase log/error messages --- src/client.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client.rs b/src/client.rs index 3027cc4..5c20675 100644 --- a/src/client.rs +++ b/src/client.rs @@ -283,13 +283,13 @@ mod rustls_connector { type Connection = TlsStream; async fn connect(&self, timeout: Duration) -> Result { - info!("Connecting to server: {}:{}", self.server.0, self.server.1); + info!("connecting to server: {}:{}", self.server.0, self.server.1); let addr = match lookup_host(&self.server).await?.next() { Some(addr) => addr, None => { return Err(Error::Io(io::Error::new( io::ErrorKind::InvalidInput, - format!("Invalid host: {}", &self.server.0), + format!("invalid host: {}", &self.server.0), ))) } };