Modify lint description

This commit is contained in:
infrandomness 2022-04-11 17:15:53 +02:00
parent 76268c0d55
commit 822993675f

View File

@ -17,7 +17,7 @@ pub(super) fn check<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>, recv: &'
cx,
NEEDLESS_OPTION_TAKE,
expr.span,
"Called `Option::take()` on a temporary value",
"called `Option::take()` on a temporary value",
"try",
format!(
"{}",