about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser/expr.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <nnethercote@mozilla.com>2019-09-17 14:19:44 +1000
committerNicholas Nethercote <nnethercote@mozilla.com>2019-09-17 15:32:29 +1000
commitcf3a562c981252f2f4e4c89d7cae353ea00529e3 (patch)
treea4e5874edca54d2b3c26cb6e0da36a6c4341cbb3 /src/libsyntax/parse/parser/expr.rs
parent476e75ded71ad6f573daabe2ca7a1be9fe3ce3cb (diff)
downloadrust-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/parser/expr.rs')
0 files changed, 0 insertions, 0 deletions