rangetools 0.1.4

Extending the Rust Range structs found in std::ops
Documentation
1
2
3
4
5
6
7
use crate::{EmptyRange, RangeComplement, UnboundedRange};

impl<T> RangeComplement<UnboundedRange> for EmptyRange<T> {
    fn complement(self) -> UnboundedRange {
        UnboundedRange
    }
}