Commit 591fc0af83

591fc0af8367cd327533c7b7600e6299eccd013c

parent: 2b6363f529

Unregistered key

Benjamin Bouvier <benjamin@bouvier.cc> · 2025-05-15 01:46 UTC
committer: <noreply@github.com>

Address some warnings and typos (#408)

Layout: unified · split

README.md +1 −1
@@ -82,7 +82,7 @@ pkg install iamb
82 82
83### macOS 83### macOS
84 84
85On macOS a [package](https://formulae.brew.sh/formula/iamb#default) is availabe in Homebrew's 85On macOS a [package](https://formulae.brew.sh/formula/iamb#default) is available in Homebrew's
86repository. To install it simply run: 86repository. To install it simply run:
87 87
88``` 88```
docs/iamb.5 +1 −1
@@ -336,7 +336,7 @@ Defaults to
336.El 336.El
337.El 337.El
338 338
339.Ss Example 1: Group room members by ther server first 339.Ss Example 1: Group room members by their server first
340.Bd -literal -offset indent 340.Bd -literal -offset indent
341[settings.sort] 341[settings.sort]
342members = ["server", "localpart"] 342members = ["server", "localpart"]
src/message/mod.rs +1 −1
@@ -961,7 +961,7 @@ impl Message {
961 vwctx: &ViewportContext<MessageCursor>, 961 vwctx: &ViewportContext<MessageCursor>,
962 info: &'a RoomInfo, 962 info: &'a RoomInfo,
963 settings: &'a ApplicationSettings, 963 settings: &'a ApplicationSettings,
964 ) -> (Text<'a>, Option<(&dyn Protocol, u16, u16)>) { 964 ) -> (Text<'a>, Option<(&'a dyn Protocol, u16, u16)>) {
965 let width = vwctx.get_width(); 965 let width = vwctx.get_width();
966 966
967 let style = self.get_render_style(selected, settings); 967 let style = self.get_render_style(selected, settings);
src/windows/mod.rs +1 −1
@@ -5,7 +5,7 @@
5//! 5//!
6//! Additionally, some of the iamb commands delegate behaviour to the current UI element. For 6//! Additionally, some of the iamb commands delegate behaviour to the current UI element. For
7//! example, [sending messages][crate::base::SendAction] delegate to the [room window][RoomState], 7//! example, [sending messages][crate::base::SendAction] delegate to the [room window][RoomState],
8//! where we have the message bar and room ID easily accesible and resetable. 8//! where we have the message bar and room ID easily accessible and resettable.
9use std::cmp::{Ord, Ordering, PartialOrd}; 9use std::cmp::{Ord, Ordering, PartialOrd};
10use std::fmt::{self, Display}; 10use std::fmt::{self, Display};
11use std::ops::Deref; 11use std::ops::Deref;
src/worker.rs +1 −1
@@ -1311,7 +1311,7 @@ impl ClientWorker {
1311 // Remove the session.json file. 1311 // Remove the session.json file.
1312 std::fs::remove_file(&self.settings.session_json)?; 1312 std::fs::remove_file(&self.settings.session_json)?;
1313 1313
1314 Ok(Some(InfoMessage::from("Sucessfully logged out"))) 1314 Ok(Some(InfoMessage::from("Successfully logged out")))
1315 } 1315 }
1316 1316
1317 async fn direct_message(&mut self, user: OwnedUserId) -> IambResult<OwnedRoomId> { 1317 async fn direct_message(&mut self, user: OwnedUserId) -> IambResult<OwnedRoomId> {