Skip to content

Commit 9e514af

Browse files
committed
Fix an error in a code sample in bitv.rs
1 parent 17bcc1b commit 9e514af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcollections/bitv.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1272,7 +1272,7 @@ impl BitvSet {
12721272
/// let a = BitvSet::from_bitv(bitv::from_bytes([0b01101000]));
12731273
/// let b = BitvSet::from_bitv(bitv::from_bytes([0b10100000]));
12741274
///
1275-
/// // Print 2, 4 in arbitrary order
1275+
/// // Print 1, 4 in arbitrary order
12761276
/// for x in a.difference(&b) {
12771277
/// println!("{}", x);
12781278
/// }

0 commit comments

Comments
 (0)