1
Fork 0

fix clippy::{redundant_guards, useless_format}

This commit is contained in:
Matthias Krüger 2023-09-27 23:48:47 +02:00
parent d4589a492f
commit fd95627134
12 changed files with 16 additions and 21 deletions

View file

@ -621,7 +621,7 @@ fn foo(&self) -> Self::T { String::new() }
{
diag.span_label(
item.span,
format!("associated type is `default` and may be overridden"),
"associated type is `default` and may be overridden",
);
return true;
}