mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 15:11:30 +00:00
ee8bfb7f7a
new lint: `option_as_ref_cloned` Closes #12009 Adds a new lint that looks for `.as_ref().cloned()` on `Option`s. That's the same as just `.clone()`-ing the option directly. changelog: new lint: [`option_as_ref_cloned`] |
||
---|---|---|
.. | ||
src | ||
book.toml | ||
README.md |