Remove backticks

This commit is contained in:
Piti the little Light 2020-10-01 18:44:12 +02:00 committed by flip1995
parent 854f2cef06
commit abdb7aeb55
No known key found for this signature in database
GPG key ID: AFC0354489087877
2 changed files with 3 additions and 3 deletions

View file

@ -3885,7 +3885,7 @@ fn lint_from_iter(cx: &LateContext<'_>, expr: &hir::Expr<'_>, args: &[hir::Expr<
expr.span,
"use `.collect()` instead of `::from_iter()`",
"consider using",
format!("`{}.collect()`", iter_expr),
format!("{}.collect()", iter_expr),
Applicability::MaybeIncorrect,
);
}