Skip to content

Commit

Permalink
Add a description to the lint declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
b-ncMN committed Apr 8, 2022
1 parent 5f601ad commit 6e245a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/methods/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2147,7 +2147,7 @@ declare_clippy_lint! {
#[clippy::version = "1.61.0"]
pub OPTION_TAKE_ON_TEMPORARY,
complexity,
"default lint description"
"using `.as_ref().take()` on a temporary value"
}

pub struct Methods {
Expand Down

0 comments on commit 6e245a8

Please sign in to comment.