From 62122183f81d530b4dacaf995f265bdd42547382 Mon Sep 17 00:00:00 2001 From: konstin Date: Thu, 30 Jan 2025 11:17:05 +0100 Subject: [PATCH] Typos --- 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) }