diff options
| author | bors <bors@rust-lang.org> | 2014-12-12 02:56:53 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-12-12 02:56:53 +0000 |
| commit | da83ad8e2c8e2c5f522dc59963e00f55b1f8c03b (patch) | |
| tree | 43f7f66771f888b430d1b8f6bd9e240658ead9a4 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 193390d0e48f6d8fb58acb7d0460c14acf907322 (diff) | |
| parent | cd008c412770d053a020ea1cf3ce02eae35623a7 (diff) | |
| download | rust-da83ad8e2c8e2c5f522dc59963e00f55b1f8c03b.tar.gz rust-da83ad8e2c8e2c5f522dc59963e00f55b1f8c03b.zip | |
auto merge of #19514 : jbranchaud/rust/add-btree-set-bitor, r=Gankro
I am trying to add an implementation of `bitor` for `BTreeSet`. I think I am most of the way there, but I am going to need some guidance to take it all the way.
When I run `make check`, I get:
```
error: cannot move out of dereference of `&`-pointer
self.union(_rhs).map(|&i| i).collect::<BTreeSet<T>>()
^~
```
I'd appreciate any nudges in the right direction. If I can figure this one out, I am sure I will be able to implement `bitand`, `bitxor`, and `sub` as well.
/cc @Gankro
---
**Update**
I have added implementations for `BitOr`, `BitAnd`, `BitXor`, and `Sub` for `BTreeSet`.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
