Hacker News new | ask | show | jobs
by GolDDranks 2957 days ago
There is actually a simple reason for that: the ranges might not be constant literals. So the end value must be an expression of some type; here u8. u8 can hold only values 0-255; 256 is out if its range.