Function range_set::range_compare::is_empty
[−]
[src]
pub fn is_empty<T: PrimInt>(range: &RangeInclusive<T>) -> bool
TODO: replace with standard library is_empty method when PR #48087 is merged
assert!(is_empty (&(1..=0)));