chore: clippy::useless-borrows-in-formatting fixes

This commit is contained in:
link2xt
2026-05-10 16:26:59 +02:00
committed by l
parent 8132f32e91
commit f2f2dd42ed
18 changed files with 37 additions and 52 deletions

View File

@@ -1683,7 +1683,7 @@ async fn write_msg(context: &Context, prefix: &str, msg: &Message, buf: &mut Str
msg.get_id(),
if msg.get_showpadlock() { "🔒" } else { "" },
if msg.has_location() { "📍" } else { "" },
&contact_name,
contact_name,
contact_id,
msgtext,
if msg.get_from_id() == ContactId::SELF {