From 23357967c6473b358ffb7c0092e9c3fc4e4c972b Mon Sep 17 00:00:00 2001 From: konsti Date: Thu, 30 Jan 2025 23:28:51 +0100 Subject: [PATCH] Typos (#318) --- src/version_set.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/version_set.rs b/src/version_set.rs index fdae29ca..a443f6c8 100644 --- a/src/version_set.rs +++ b/src/version_set.rs @@ -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) }