mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
74e92566d5
Fixes #5405: redundant clone false positive with arrays Check whether slice elements implement Copy before suggesting to drop the clone method changelog: add a check for slice indexing on redundant_clone lint