Skip to content

Commit

Permalink
Typos (#318)
Browse files Browse the repository at this point in the history
  • Loading branch information
konstin authored Jan 30, 2025
1 parent c474a52 commit 2335796
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/version_set.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,12 @@ pub trait VersionSet: Debug + Display + Clone + Eq {
.complement()
}

/// Whether the range have no overlapping segments.
/// Whether the ranges have no overlapping segments.
fn is_disjoint(&self, other: &Self) -> bool {
self.intersection(other) == Self::empty()
}

/// Whether all range of `self` are contained in `other`.
/// Whether all ranges of `self` are contained in `other`.
fn subset_of(&self, other: &Self) -> bool {
self == &self.intersection(other)
}
Expand Down

0 comments on commit 2335796

Please sign in to comment.