Skip to content

Commit 8229936

Browse files
committed
Modify lint description
1 parent 76268c0 commit 8229936

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/methods/needless_option_take.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ pub(super) fn check<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>, recv: &'
1717
cx,
1818
NEEDLESS_OPTION_TAKE,
1919
expr.span,
20-
"Called `Option::take()` on a temporary value",
20+
"called `Option::take()` on a temporary value",
2121
"try",
2222
format!(
2323
"{}",

0 commit comments

Comments
 (0)