12f7c17ae0
`useless_asref`: do not lint `.as_ref().map(Arc::clone)` This applies to `Arc`, `Rc`, and their weak variants. Using `.clone()` would be less idiomatic. This follows the discussion in <https://github.com/rust-lang/rust-clippy/issues/12528#issuecomment-2014444305>. changelog: [`useless_asref`]: do not lint `.as_ref().map(Arc::clone)` and similar |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |