diff options
| author | Nicholas Nethercote <nnethercote@mozilla.com> | 2019-09-16 12:43:16 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <nnethercote@mozilla.com> | 2019-09-16 12:43:16 +1000 |
| commit | 6e48053d5d0d1c81d9a7e6548cead05c4bbac63d (patch) | |
| tree | 9107bdd1970daabb41945fae0b24f15c2936563e /src/libsyntax/parse/parser | |
| parent | e2492b716370dab5216f0123b3ed1cac78f8304e (diff) | |
| download | rust-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
