Skip to content

Commit 68d61fb

Browse files
committed
Add a description to the lint declaration
1 parent 9c5f8d0 commit 68d61fb

File tree

1 file changed

+1
-1
lines changed
  • clippy_lints/src/methods

1 file changed

+1
-1
lines changed

clippy_lints/src/methods/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2147,7 +2147,7 @@ declare_clippy_lint! {
21472147
#[clippy::version = "1.61.0"]
21482148
pub OPTION_TAKE_ON_TEMPORARY,
21492149
complexity,
2150-
"default lint description"
2150+
"using `.as_ref().take()` on a temporary value"
21512151
}
21522152

21532153
pub struct Methods {

0 commit comments

Comments
 (0)