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