]> git.lizzy.rs Git - rust.git/commit
auto merge of #15220 : vhbit/rust/treemap-str-equiv, r=alexcrichton
authorbors <bors@rust-lang.org>
Wed, 9 Jul 2014 16:51:28 +0000 (16:51 +0000)
committerbors <bors@rust-lang.org>
Wed, 9 Jul 2014 16:51:28 +0000 (16:51 +0000)
commitf9d3b9e488f88b5d9c9e23f9bcc7e933565a9649
tree3437346107b429e6552492d113b8f81c88508d8d
parent3f3291e0c7d9d189553b16c52dda3851423534a5
parentbe7a17062b103b31798afcd525c51a9642038465
auto merge of #15220 : vhbit/rust/treemap-str-equiv, r=alexcrichton

- it allows to lookup using any str-equiv object, making TreeMaps finally usable (for example, it is much easier to work with JSON with lookup values being static strs)
- actually provides pretty flexible solution which could be extended to other equivalent types (although it might be not that performant)