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
8282
8383### macOS
8484
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
8686repository. To install it simply run:
8787
8888```
docs/iamb.5 +1 −1
@@ -336,7 +336,7 @@ Defaults to
336336.El
337337.El
338338
339.Ss Example 1: Group room members by ther server first
339.Ss Example 1: Group room members by their server first
340340.Bd -literal -offset indent
341341[settings.sort]
342342members = ["server", "localpart"]
src/message/mod.rs +1 −1
@@ -961,7 +961,7 @@ impl Message {
961961 vwctx: &ViewportContext<MessageCursor>,
962962 info: &'a RoomInfo,
963963 settings: &'a ApplicationSettings,
964 ) -> (Text<'a>, Option<(&dyn Protocol, u16, u16)>) {
964 ) -> (Text<'a>, Option<(&'a dyn Protocol, u16, u16)>) {
965965 let width = vwctx.get_width();
966966
967967 let style = self.get_render_style(selected, settings);
src/windows/mod.rs +1 −1
@@ -5,7 +5,7 @@
55//!
66//! Additionally, some of the iamb commands delegate behaviour to the current UI element. For
77//! 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.
99use std::cmp::{Ord, Ordering, PartialOrd};
1010use std::fmt::{self, Display};
1111use std::ops::Deref;
src/worker.rs +1 −1
@@ -1311,7 +1311,7 @@ impl ClientWorker {
13111311 // Remove the session.json file.
13121312 std::fs::remove_file(&self.settings.session_json)?;
13131313
1314 Ok(Some(InfoMessage::from("Sucessfully logged out")))
1314 Ok(Some(InfoMessage::from("Successfully logged out")))
13151315 }
13161316
13171317 async fn direct_message(&mut self, user: OwnedUserId) -> IambResult<OwnedRoomId> {