mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-24 22:57:53 +00:00
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
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.