mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-23 21:23:56 +00:00
Change format!
style to please dogfood test
This commit is contained in:
parent
423b54ac12
commit
7852962820
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ fn suggest(cx: &LateContext<'_>, expr: &Expr<'_>, recv: &Expr<'_>, span: Span) {
|
|||
cx,
|
||||
CLEAR_WITH_DRAIN,
|
||||
span.with_hi(expr.span.hi()),
|
||||
&format!("`drain` used to clear a `{}`", ty_name),
|
||||
&format!("`drain` used to clear a `{ty_name}`"),
|
||||
"try",
|
||||
"clear()".to_string(),
|
||||
Applicability::MachineApplicable,
|
||||
|
|
Loading…
Reference in a new issue