exclusive_range_pattern
The tracking issue for this feature is: #37854.
The exclusive_range_pattern
feature allows non-inclusive range
patterns (0..10
) to be used in appropriate pattern matching
contexts. It also can be combined with #![feature(half_open_range_patterns]
to be able to use RangeTo patterns (..10
).
It also enabled RangeFrom patterns but that has since been stabilized.