46b93b2e44
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.