- macro_rules! range { ($map: expr) => {
- match range_type {
- 0 => $map.range(lower_bound..upper_bound),
- 1 => $map.range(lower_bound..=upper_bound),
- 2 => $map.range(ExclLowerInclUpper(lower_bound, upper_bound)),
- 3 => $map.range(ExclLowerExclUpper(lower_bound, upper_bound)),
- _ => unreachable!(),
- }
- } }
+ macro_rules! range {
+ ($map: expr) => {
+ match range_type {
+ 0 => $map.range(lower_bound..upper_bound),
+ 1 => $map.range(lower_bound..=upper_bound),
+ 2 => $map.range(ExclLowerInclUpper(lower_bound, upper_bound)),
+ 3 => $map.range(ExclLowerExclUpper(lower_bound, upper_bound)),
+ _ => unreachable!(),
+ }
+ };
+ }