diff --git a/src/range.rs b/src/range.rs index ff2a9652..e20688cd 100644 --- a/src/range.rs +++ b/src/range.rs @@ -95,14 +95,6 @@ impl Range { } } - /// Set containing all versions expect one - pub fn not_equal(v: impl Into) -> Self { - let v = v.into(); - Self { - segments: SmallVec::Two([(Unbounded, Excluded(v.clone())), (Excluded(v), Unbounded)]), - } - } - /// Returns the complement of this Range. pub fn complement(&self) -> Self { match self.segments.first() {