forked from Skynet/discord-bot
clippy: changes from nightly clippy
all of this is embeding teh var into teh format macro
This commit is contained in:
parent
9d409e3692
commit
d0726169ee
17 changed files with 47 additions and 47 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue