mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-31 05:26:23 +03:00
bf41e753ec
Use `&IndexSlice` instead of `&IndexVec` where possible All the same reasons as for `[T]`: more general, less pointer chasing, and `&mut IndexSlice` emphasizes that it doesn't change *length*. r? `@ghost`
For more information about how rustc works, see the rustc dev guide.