clippy: changes from nightly clippy

all of this is embeding teh var into teh format macro
This commit is contained in:
silver 2025-07-21 00:50:20 +01:00
parent 9d409e3692
commit d0726169ee
Signed by untrusted user: silver
GPG key ID: 36F93D61BAD3FD7D
17 changed files with 47 additions and 47 deletions

View file

@ -207,7 +207,7 @@ pub(crate) mod user {
// the `` is so that the numbers will be rendered in monospaced font
// the <> is to suppress the URL embed
let line = format!("``{}{}`` [{}](<{}>)", current_leading, times, name, url);
let line = format!("``{current_leading}{times}`` [{name}](<{url}>)");
let length = line.len() + 1;