Closed almindor closed 4 years ago
Fixes overlapping pattern warnings by doing ..=(X-1)
..=(X-1)
NOTE: I'm not 100% sure this is correct, question also remains on the upper bound, should it be inclusive or not?
Rust does not allow pattern matching with X..Y exclusive in stable yet.
X..Y
Fixes overlapping pattern warnings by doing
..=(X-1)
NOTE: I'm not 100% sure this is correct, question also remains on the upper bound, should it be inclusive or not?
Rust does not allow pattern matching with
X..Y
exclusive in stable yet.