about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser
diff options
context:
space:
mode:
authorNicholas Nethercote <nnethercote@mozilla.com>2019-09-16 12:43:16 +1000
committerNicholas Nethercote <nnethercote@mozilla.com>2019-09-16 12:43:16 +1000
commit6e48053d5d0d1c81d9a7e6548cead05c4bbac63d (patch)
tree9107bdd1970daabb41945fae0b24f15c2936563e /src/libsyntax/parse/parser
parente2492b716370dab5216f0123b3ed1cac78f8304e (diff)
downloadrust-6e48053d5d0d1c81d9a7e6548cead05c4bbac63d.tar.gz
rust-6e48053d5d0d1c81d9a7e6548cead05c4bbac63d.zip
Use iterators in `error_at` and `process_cycle`.
This makes the code a little faster, presumably because bounds checks
aren't needed on `nodes` accesses. It requires making `scratch` a
`RefCell`, which is not unreasonable.
Diffstat (limited to 'src/libsyntax/parse/parser')
0 files changed, 0 insertions, 0 deletions