Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
bad-apple
· 6y ago · 0 comments
Nitpick: I'm pretty sure that "11..50" should be a "10..50".
Comments
[–]
TheDong
6y ago
Edited, yeah. Off-by-one errors, can't live without em.
[–]
bad-apple
OP
6y ago
If you'd used 50.. instead of _, Rust would've caught this error for you. ;)
https://play.rust-lang.org/?version=nightly&mode=release&edi...