about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-05-06 23:06:36 -0700
committerbors <bors@rust-lang.org>2013-05-06 23:06:36 -0700
commit3225870191f7e6b601d70fa5aa08617eb04b170b (patch)
treeaecc5d13953424c96949633669f8f9acfb043701 /src/libsyntax/parse/parser.rs
parentbf748e50017ab7cdb0f703ec9438793226d43a22 (diff)
parent393a409b5d418be30f4e959cce74daacad112f75 (diff)
downloadrust-3225870191f7e6b601d70fa5aa08617eb04b170b.tar.gz
rust-3225870191f7e6b601d70fa5aa08617eb04b170b.zip
auto merge of #6236 : alexcrichton/rust/more-map-methods, r=thestinger
Closes #5392 and #5393

I implemented the pop/swap methods for TrieMap/TreeMap/SmallIntMap, and I also updated all of them such that pop isn't just a remove/insert, but rather it's all done in one operation.

One thing I did notice is that with default methods it'd be really nice to define `insert` and `remove` in terms of `pop` and `swap` (or vice versa, just to have them available).
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
0 files changed, 0 insertions, 0 deletions