3 ms·
Read what dancek said again. In Rust `a..b` means a <= x < b So 0..256 is 0 <= x < 256 That is "less than" 256. There's no equals (that would be `0.
by ChrisSD 7y ago
Read what dancek said again. In Rust `a..b` means
a <= x < b
So 0..256 is
0 <= x < 256
That is "less than" 256. There's no equals (that would be `0..=256` in Rust).
- scoutt 7y agoOh my.... Well, I guess the author realized about the confusion in every other non-Rust programmer it generates (https://git.ralfj.de/web.git/commitdiff/13622f8642fc071bedf32dba3efbd50a5906032c https://git.ralfj.de/web.git/commitdiff/13622f8642fc071bedf3...).