From 67222f1b54d139e43fc185683cab226da4b4c74f Mon Sep 17 00:00:00 2001 From: Josenilson Ferreira da SIlva Date: Thu, 16 Oct 2025 05:25:51 -0300 Subject: [PATCH] fixed error spelling --- crates/tiny/src/config.rs | 4 ++-- crates/tiny/src/conn.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/tiny/src/config.rs b/crates/tiny/src/config.rs index 0595ae93..b045717b 100644 --- a/crates/tiny/src/config.rs +++ b/crates/tiny/src/config.rs @@ -158,7 +158,7 @@ impl<'de> Deserialize<'de> for PassOrCmd { ))), }, _ => Err(D::Error::custom( - "Expeted a 'cmd' key in password map with string value", + "Expected a 'cmd' key in password map with string value", )), }, _ => Err(D::Error::custom("Password field must be a string or map")), @@ -231,7 +231,7 @@ impl Config { if self.defaults.nicks.is_empty() { errors.push( - "Default nick list can't be empty, please add at least one defaut nick".to_owned(), + "Default nick list can't be empty, please add at least one default nick".to_owned(), ); } diff --git a/crates/tiny/src/conn.rs b/crates/tiny/src/conn.rs index 5cf1f501..cffbba77 100644 --- a/crates/tiny/src/conn.rs +++ b/crates/tiny/src/conn.rs @@ -453,7 +453,7 @@ fn handle_irc_msg(ui: &UI, client: &dyn Client, msg: wire::Msg) { if params.iter().any(|cap| cap.as_str() == "sasl") { let msg_target = MsgTarget::Server { serv }; ui.add_err_msg( - "Server rejected using SASL authenication capability", + "Server rejected using SASL authentication capability", time::now(), &msg_target, ); @@ -463,7 +463,7 @@ fn handle_irc_msg(ui: &UI, client: &dyn Client, msg: wire::Msg) { if !params.iter().any(|cap| cap.as_str() == "sasl") { let msg_target = MsgTarget::Server { serv }; ui.add_err_msg( - "Server does not support SASL authenication", + "Server does not support SASL authentication", time::now(), &msg_target, );