]> git.lizzy.rs Git - rust.git/commit
auto merge of #19561 : csouth3/rust/treeset-bitops, r=Gankro
authorbors <bors@rust-lang.org>
Mon, 8 Dec 2014 00:12:30 +0000 (00:12 +0000)
committerbors <bors@rust-lang.org>
Mon, 8 Dec 2014 00:12:30 +0000 (00:12 +0000)
commit8bca470c5acf13aa20022a2c462a89f72de721fc
tree052f3afa9785cc627365ba6c453b243ae7c50a65
parent77cd5cc54eda4243614be32b893db512beab0f8e
parentda50db0ca27036d0c5e7c5f99a37ef3d932268f1
auto merge of #19561 : csouth3/rust/treeset-bitops, r=Gankro

Implement the `BitOr`, `BitAnd`, `BitXor`, and `Sub` traits from `std::ops` for TreeSet.  The behavior of these operator overloads is consistent with [RFC 235](https://github.com/rust-lang/rfcs/blob/master/text/0235-collections-conventions.md#combinations).

r? @Gankro