Skip to content

Commit

Permalink
Auto merge of #109787 - scottmcm:index-slice, r=cjgillot
Browse files Browse the repository at this point in the history
Add `IndexSlice` to go with `IndexVec`

Moves the methods that don't need full `IndexVec`-ness over to `IndexSlice`, and have `IndexVec` deref to `IndexSlice` so everything keeps working.

Doing this for later use in rust-lang/compiler-team#606, where I'm hitting a bunch of things that are just slices and thus there's no way to index with the `FieldIdx`.
  • Loading branch information
bors committed Mar 31, 2023
2 parents c221618 + ddc1146 commit 8e8e611
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 8e8e611

Please sign in to comment.