Skip to content

Commit 0975d84

Browse files
DrKwintsteveklabnik
authored andcommitted
Update BitSet docs to correct types
Update BitSet docs to correct type in one more spot removed accidental file
1 parent 708ad64 commit 0975d84

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/libcollections/bit.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -1434,7 +1434,7 @@ impl BitSet {
14341434
bit_vec.nbits = trunc_len * u32::BITS;
14351435
}
14361436

1437-
/// Iterator over each u32 stored in the `BitSet`.
1437+
/// Iterator over each usize stored in the `BitSet`.
14381438
///
14391439
/// # Examples
14401440
///
@@ -1455,7 +1455,7 @@ impl BitSet {
14551455
SetIter {set: self, next_idx: 0}
14561456
}
14571457

1458-
/// Iterator over each u32 stored in `self` union `other`.
1458+
/// Iterator over each usize stored in `self` union `other`.
14591459
/// See [union_with](#method.union_with) for an efficient in-place version.
14601460
///
14611461
/// # Examples
@@ -1555,7 +1555,7 @@ impl BitSet {
15551555
})
15561556
}
15571557

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

0 commit comments

Comments
 (0)