Skip to content

Commit c783f0f

Browse files
committed
fix: remove not_equals
1 parent af7ab88 commit c783f0f

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/range.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -95,14 +95,6 @@ impl<V: Clone> Range<V> {
9595
}
9696
}
9797

98-
/// Set containing all versions expect one
99-
pub fn not_equal(v: impl Into<V>) -> Self {
100-
let v = v.into();
101-
Self {
102-
segments: SmallVec::Two([(Unbounded, Excluded(v.clone())), (Excluded(v), Unbounded)]),
103-
}
104-
}
105-
10698
/// Returns the complement of this Range.
10799
pub fn complement(&self) -> Self {
108100
match self.segments.first() {

0 commit comments

Comments
 (0)