1
Fork 0

clippy::useless_format

This commit is contained in:
Matthias Krüger 2021-07-21 22:43:19 +02:00
parent d0a8a12dc6
commit 3fd8cbb404
14 changed files with 17 additions and 17 deletions

View file

@ -1061,7 +1061,7 @@ impl<'a: 'ast, 'ast> LateResolutionVisitor<'a, '_, 'ast> {
}
err.span_suggestion(
span,
&format!("use this syntax instead"),
&"use this syntax instead",
format!("{path_str}"),
Applicability::MaybeIncorrect,
);