fix: linter

This commit is contained in:
wowinter13 2024-10-16 01:49:15 +02:00
parent 40cb24f23c
commit ad002ea99f

View File

@ -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,
);