Enable clippy::option_as_ref_deref (#8747)

This PR enables the
[`clippy::option_as_ref_deref`](https://rust-lang.github.io/rust-clippy/master/index.html#/option_as_ref_deref)
rule and fixes the outstanding violations.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2024-03-02 21:36:42 -05:00 committed by GitHub
parent ca9d5a2f6b
commit 3ab16d8012
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 3 deletions

View file

@ -108,7 +108,6 @@ fn run_clippy(args: ClippyArgs) -> Result<()> {
"clippy::non_canonical_clone_impl",
"clippy::non_canonical_partial_ord_impl",
"clippy::nonminimal_bool",
"clippy::option_as_ref_deref",
"clippy::option_map_unit_fn",
"clippy::redundant_closure_call",
"clippy::redundant_guards",