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 high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.
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 high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.