Dan Gohman 67b7a8594a Implementing Deref in PrimaryMap turns out to be error-prone, so remove it.
One of the big advantages of PrimaryMap is that it protects against
using the wrong indices via a distinct index type. A Deref trait that
returns a plain slice would accept other indices. Add a comment
explaining this.
2018-08-28 20:55:06 -07:00
2018-07-13 09:15:16 -07:00
Description
No description provided
125 MiB
Languages
Rust 77.8%
WebAssembly 20.6%
C 1.3%