File: 005.fixed-spelling-error.patch

package info (click to toggle)
tiny 0.13.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,780 kB
  • sloc: makefile: 29
file content (48 lines) | stat: -rw-r--r-- 2,388 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
Description: Fixed spelling error
Author: Josenilson Ferreira da Silva <nilsonfsilva@hotmail.com>
Forwarded: https://github.com/osa1/tiny/pull/451
Last-Update: 2025-10-10
Index: rust-tiny-0.13.0/crates/tiny/src/config.rs
===================================================================
--- rust-tiny-0.13.0.orig/crates/tiny/src/config.rs
+++ rust-tiny-0.13.0/crates/tiny/src/config.rs
@@ -154,7 +154,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")),
@@ -227,7 +227,7 @@ impl Config<PassOrCmd> {
 
         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(),
             );
         }
 
Index: rust-tiny-0.13.0/crates/tiny/src/conn.rs
===================================================================
--- rust-tiny-0.13.0.orig/crates/tiny/src/conn.rs
+++ rust-tiny-0.13.0/crates/tiny/src/conn.rs
@@ -453,7 +453,7 @@ fn handle_irc_msg(ui: &UI, client: &dyn
                 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::OffsetDateTime::now_utc(),
                         &msg_target,
                     );
@@ -463,7 +463,7 @@ fn handle_irc_msg(ui: &UI, client: &dyn
                 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::OffsetDateTime::now_utc(),
                         &msg_target,
                     );