]> git.lizzy.rs Git - rust.git/commitdiff
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)
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


Trivial merge