Skip to content

Commit c98df58

Browse files
committed
Update BitSet docs to correct types
Update BitSet docs to correct type in one more spot removed accidental file
1 parent 9ecc989 commit c98df58

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/libcollections/bit.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1537,7 +1537,7 @@ impl BitSet {
15371537
bit_vec.nbits = trunc_len * u32::BITS;
15381538
}
15391539

1540-
/// Iterator over each u32 stored in the `BitSet`.
1540+
/// Iterator over each usize stored in the `BitSet`.
15411541
///
15421542
/// # Examples
15431543
///
@@ -1558,7 +1558,7 @@ impl BitSet {
15581558
SetIter {set: self, next_idx: 0}
15591559
}
15601560

1561-
/// Iterator over each u32 stored in `self` union `other`.
1561+
/// Iterator over each usize stored in `self` union `other`.
15621562
/// See [union_with](#method.union_with) for an efficient in-place version.
15631563
///
15641564
/// # Examples
@@ -1658,7 +1658,7 @@ impl BitSet {
16581658
})
16591659
}
16601660

1661-
/// Iterator over each u32 stored in the symmetric difference of `self` and `other`.
1661+
/// Iterator over each usize stored in the symmetric difference of `self` and `other`.
16621662
/// See [symmetric_difference_with](#method.symmetric_difference_with) for
16631663
/// an efficient in-place version.
16641664
///

0 commit comments

Comments
 (0)