Modify lint description
This commit is contained in:
parent
76268c0d55
commit
822993675f
@ -17,7 +17,7 @@ pub(super) fn check<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>, recv: &'
|
|||||||
cx,
|
cx,
|
||||||
NEEDLESS_OPTION_TAKE,
|
NEEDLESS_OPTION_TAKE,
|
||||||
expr.span,
|
expr.span,
|
||||||
"Called `Option::take()` on a temporary value",
|
"called `Option::take()` on a temporary value",
|
||||||
"try",
|
"try",
|
||||||
format!(
|
format!(
|
||||||
"{}",
|
"{}",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user