Skip to content

Commit

Permalink
Fix some comment typos
Browse files Browse the repository at this point in the history
Not actually part of this PR, but noticed them while reviewing it.
  • Loading branch information
jeffparsons authored Feb 8, 2024
1 parent fa1aa5f commit ae6b9c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/inclusive_set.rs
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ mod tests {
fn test_intersection_contains_u8(left: RangeInclusiveSet<u8>, right: RangeInclusiveSet<u8>) {
let intersection = (&left) & (&right);

// value should be in the union if and only if it is in either set
// value should be in the intersection if and only if it is in both sets
for value in 0..u8::MAX {
assert_eq!(
intersection.contains(&value),
Expand Down
2 changes: 1 addition & 1 deletion src/set.rs
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ mod tests {
fn test_intersection_contains_u8(left: RangeSet<u8>, right: RangeSet<u8>) {
let intersection = (&left) & (&right);

// value should be in the union if and only if it is in either set
// value should be in the intersection if and only if it is in both sets
for value in 0..u8::MAX {
assert_eq!(
intersection.contains(&value),
Expand Down

0 comments on commit ae6b9c0

Please sign in to comment.