Added lint for catching `&[foo.clone()]` where foo is a reference and suggests `std::slice::from_ref(foo)`. changelog: new lint: [`cloned_ref_to_slice_refs`] |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||
| README.md | ||
Added lint for catching `&[foo.clone()]` where foo is a reference and suggests `std::slice::from_ref(foo)`. changelog: new lint: [`cloned_ref_to_slice_refs`] |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||
| README.md | ||