mirror of
https://github.com/danbulant/oxc
synced 2026-05-23 06:08:47 +00:00
`IndexVec` should only be indexed into with its associated `Idx` type. The implementation taken from `index_vec` crate however also includes the ability to index into the `Vec` with a `usize` "as an ergonomic concession, it's too painful without": https://docs.rs/index_vec/0.1.4/src/index_vec/indexing.rs.html#112-134 I think we want to be stricter than this, so remove this ability. |
||
|---|---|---|
| .. | ||
| test.rs | ||