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
|
@ -76,8 +76,8 @@ pub async fn run(command: &CommandInteraction, ctx: &Context) -> String {
|
|||
match add_server(&db, ctx, &server_data).await {
|
||||
Ok(_) => {}
|
||||
Err(e) => {
|
||||
println!("{:?}", e);
|
||||
return format!("Failure to insert into Servers {:?}", server_data);
|
||||
println!("{e:?}");
|
||||
return format!("Failure to insert into Servers {server_data:?}");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue