News for hackers. Stuff that matters.
Re:Moving from Ruby to Rust by Certhas on Thursday February 14, 2019 @07:29PM (#19167486)
You're right of course. Not intentional.

0:3 picks out index 0, 1, 2.

So 1:3 picks out the second and third element, which are indexed by 1 and 2 respectively.

My guess is that what one prefers probably depends entirely on the data structures one works with most....

Re:Moving from Ruby to Rust by shele on Friday February 15, 2019 @02:49AM (#19169211)
I like how you got it wrong, proving your point.