mirror of
https://github.com/rust-lang/rust-clippy
synced 2025-02-16 22:18:40 +00:00
fix: linter
This commit is contained in:
parent
40cb24f23c
commit
ad002ea99f
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ pub(super) fn check<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx hir::Expr<'tcx>, a
|
|||
},
|
||||
expr.span,
|
||||
format!("this `.{name}` can be written more simply"),
|
||||
format!("try instead"),
|
||||
"try instead",
|
||||
sugg.to_string(),
|
||||
Applicability::MaybeIncorrect,
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue