diff --git a/src/libcollections/bitv.rs b/src/libcollections/bitv.rs index e8439d83e5e019074d5aa62ec4ad8332ede4a965..1449b6ce550daf1c23d8b1950731798c3e3f3974 100644 --- a/src/libcollections/bitv.rs +++ b/src/libcollections/bitv.rs @@ -1450,11 +1450,13 @@ fn remove(&mut self, value: &uint) -> bool { } } +/// An iterator for `BitvSet`. pub struct BitPositions<'a> { set: &'a BitvSet, next_idx: uint } +/// An iterator combining wo `BitvSet` iterators. pub struct TwoBitPositions<'a> { set: &'a BitvSet, other: &'a BitvSet,