fix clippy::{redundant_guards, useless_format}
This commit is contained in:
parent
d4589a492f
commit
fd95627134
12 changed files with 16 additions and 21 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue