Enable clippy::unnecessary_unwrap
(#8756)
This PR enables the [`clippy::unnecessary_unwrap`](https://rust-lang.github.io/rust-clippy/master/index.html#/unnecessary_unwrap) rule and fixes the outstanding violations. Release Notes: - N/A
This commit is contained in:
parent
191fcf67d1
commit
373e18bc88
4 changed files with 15 additions and 15 deletions
|
@ -112,7 +112,6 @@ fn run_clippy(args: ClippyArgs) -> Result<()> {
|
|||
"clippy::suspicious_to_owned",
|
||||
"clippy::type_complexity",
|
||||
"clippy::unnecessary_to_owned",
|
||||
"clippy::unnecessary_unwrap",
|
||||
"clippy::useless_conversion",
|
||||
"clippy::useless_format",
|
||||
"clippy::vec_init_then_push",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue