Skip to content

Commit

Permalink
Describe BitPositions and TwoBitPositions.
Browse files Browse the repository at this point in the history
  • Loading branch information
treeman authored and alexcrichton committed Jul 21, 2014
1 parent e68333a commit 2957644
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libcollections/bitv.rs
Expand Up @@ -1450,11 +1450,13 @@ impl MutableSet<uint> for BitvSet {
}
}

/// 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,
Expand Down

0 comments on commit 2957644

Please sign in to comment.