diff options
| author | Nicholas Nethercote <nnethercote@mozilla.com> | 2019-09-17 14:19:44 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <nnethercote@mozilla.com> | 2019-09-17 15:32:29 +1000 |
| commit | cf3a562c981252f2f4e4c89d7cae353ea00529e3 (patch) | |
| tree | a4e5874edca54d2b3c26cb6e0da36a6c4341cbb3 /src/libsyntax/parse | |
| parent | 476e75ded71ad6f573daabe2ca7a1be9fe3ce3cb (diff) | |
| download | rust-cf3a562c981252f2f4e4c89d7cae353ea00529e3.tar.gz rust-cf3a562c981252f2f4e4c89d7cae353ea00529e3.zip | |
Remove `NodeIndex`.
The size of the indices doesn't matter much here, and having a `newtype_index!` index type without also using `IndexVec` requires lots of conversions. So this commit removes `NodeIndex` in favour of uniform use of `usize` as the index type. As well as making the code slightly more concise, it also slightly speeds things up.
Diffstat (limited to 'src/libsyntax/parse')
0 files changed, 0 insertions, 0 deletions
