Fix newer Clippy warnings for 1.67.0 (#33)

This commit is contained in:
Ulyssa 2023-01-30 13:51:32 -08:00
parent fd72cf5c4e
commit 3629f15e0d
No known key found for this signature in database
GPG key ID: 1B3965A3D18B9B64
8 changed files with 33 additions and 28 deletions

View file

@ -383,7 +383,7 @@ impl ChatState {
.map_err(IambError::from)?;
// Mock up the local echo message for the scrollback.
let msg = TextMessageEventContent::plain(format!("[Attached File: {}]", name));
let msg = TextMessageEventContent::plain(format!("[Attached File: {name}]"));
let msg = MessageType::Text(msg);
let msg = RoomMessageEventContent::new(msg);