about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <nnethercote@mozilla.com>2018-09-18 13:51:20 +1000
committerNicholas Nethercote <nnethercote@mozilla.com>2018-09-18 16:29:55 +1000
commit687cc292fd681be9739dc973acd5eaa5f73a5ce7 (patch)
tree1315287b80e6b885f3afe751365569c79c7be682 /src/libsyntax/parse/parser.rs
parentc42765a5470ae7a5cce01977fd58062365733ee9 (diff)
downloadrust-687cc292fd681be9739dc973acd5eaa5f73a5ce7.tar.gz
rust-687cc292fd681be9739dc973acd5eaa5f73a5ce7.zip
Remove `array_vec.rs`.
`SparseBitSet` is the only remaining user of `ArrayVec`. This commit
switches it to using `SmallVec`, and removes `array_vec.rs`.

Why the switch? Although `SparseBitSet` is size-limited and doesn't need
the ability to spill to the heap, `SmallVec` has many more features than
`ArrayVec`. In particular, it's now possible to keep `SparseBitSet`'s
elements in sorted order, which gives in-order iteration, which is a
requirement for the next commit.
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
0 files changed, 0 insertions, 0 deletions