]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #15284 : apoelstra/rust/bitv-methods, r=cmr
authorbors <bors@rust-lang.org>
Sat, 5 Jul 2014 05:01:49 +0000 (05:01 +0000)
committerbors <bors@rust-lang.org>
Sat, 5 Jul 2014 05:01:49 +0000 (05:01 +0000)
The types `Bitv` and `BitvSet` are badly out of date. This PR:
- cleans up the code (primarily, simplifies `Bitv` and implements `BitvSet` in terms of `Bitv`)
- implements several new traits for `Bitv`
- adds new functionality to `Bitv` and `BitvSet`
- replaces internal iterators with external ones
- updates documentation
- minor bug fixes

This is a significantly souped-up version of PR #15139 and is the result of the discussion there.


Trivial merge