diff options
| author | infrandomness <infrandomness@gmail.com> | 2022-04-11 17:15:53 +0200 |
|---|---|---|
| committer | infrandomness <infrandomness@gmail.com> | 2022-04-14 13:16:34 +0200 |
| commit | 822993675ff45d5b4b2f0a310c65d4abd1aef20a (patch) | |
| tree | 28f28942acbfffbc1be0887e56dda19a2e838491 | |
| parent | 76268c0d5590ca06129722fed4afb306a847caab (diff) | |
| download | rust-822993675ff45d5b4b2f0a310c65d4abd1aef20a.tar.gz rust-822993675ff45d5b4b2f0a310c65d4abd1aef20a.zip | |
Modify lint description
| -rw-r--r-- | clippy_lints/src/methods/needless_option_take.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/methods/needless_option_take.rs b/clippy_lints/src/methods/needless_option_take.rs index 5596515637e..829c118d291 100644 --- a/clippy_lints/src/methods/needless_option_take.rs +++ b/clippy_lints/src/methods/needless_option_take.rs @@ -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!( "{}", |
