mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-15 20:45:45 +03:00
1aa686b9c0
Fix [`redundant_slicing`] when the slice is behind a mutable reference Fixes #12751 changelog: Fix [`redundant_slicing`] when the slice is behind a mutable reference and a immutable reference is expected.