rangetools/implementations/union/
empty_range.rs1use crate::{EmptyRange, RangeUnion, Rangetools};
2
3impl<T, Rhs, RhsSet> RangeUnion<Rhs, RhsSet> for EmptyRange<T>
4where
5 Rhs: Rangetools<Set = RhsSet>,
6{
7 type Output = Rhs;
8 fn union(self, other: Rhs) -> Self::Output {
9 other
10 }
11}