mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-17 08:46:45 +00:00
avoid full-slicing slices If we already have a slice, there is no need to get another full-range slice from that, just use the original. clippy::redundant_slicing
For more information about how rustc works, see the rustc dev guide.