diff options
author | bors <bors@rust-lang.org> | 2023-03-31 11:27:38 +0000 |
---|---|---|
committer | bors <bors@rust-lang.org> | 2023-03-31 11:27:38 +0000 |
commit | 480068c2359ea65df4481788b5ce717a548ce171 (patch) | |
tree | 5d017c87a0ed507e855db360a2258bccf30e54db /tests/rustdoc-js-std/parser-errors.js | |
parent | 22a7a19f9333bc1fcba97ce444a3515cb5fb33e6 (diff) | |
parent | 408e2ac3bb35a54529ea0647a024fb817a27a8c2 (diff) | |
download | rust-480068c2359ea65df4481788b5ce717a548ce171.tar.gz |
Auto merge of #109787 - scottmcm:index-slice, r=cjgillot
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 https://github.com/rust-lang/compiler-team/issues/606, where I'm hitting a bunch of things that are just slices and thus there's no way to index with the `FieldIdx`.
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions