Closed Geobert closed 5 years ago
In Rust, you can define a range with .. : 0..3 is 0 to 3 excluded and you can have 0..=3 meaning 3 included.
..
0..3
0..=3
This is also ready.
Does ..= works as well?
..=
Yes, it works as well. It seems to me, that Tree-sitter itself gets it wrong, but as = is also operator, highlighting is fine (=.
=
In Rust, you can define a range with
..
:0..3
is 0 to 3 excluded and you can have0..=3
meaning 3 included.