add manual_ok_or lint
This commit is contained in:
parent
afbac8906e
commit
111b9023da
7 changed files with 234 additions and 0 deletions
|
|
@ -1173,6 +1173,13 @@ vec![
|
|||
deprecation: None,
|
||||
module: "manual_non_exhaustive",
|
||||
},
|
||||
Lint {
|
||||
name: "manual_ok_or",
|
||||
group: "pedantic",
|
||||
desc: "finds patterns that can be encoded more concisely with `Option::ok_or`",
|
||||
deprecation: None,
|
||||
module: "manual_ok_or",
|
||||
},
|
||||
Lint {
|
||||
name: "manual_range_contains",
|
||||
group: "style",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue