All the same reasons as for `[T]`: more general, less pointer chasing, and `&mut IndexSlice` emphasizes that it doesn't change *length*. |
||
|---|---|---|
| .. | ||
| build | ||
| thir | ||
| check_unsafety.rs | ||
| errors.rs | ||
| lib.rs | ||
| lints.rs | ||
All the same reasons as for `[T]`: more general, less pointer chasing, and `&mut IndexSlice` emphasizes that it doesn't change *length*. |
||
|---|---|---|
| .. | ||
| build | ||
| thir | ||
| check_unsafety.rs | ||
| errors.rs | ||
| lib.rs | ||
| lints.rs | ||