Fix compilation under rust nightly

Changes ranges from `A..B` to `A...B`, as per rust-lang/rust@2f15dcd4d3865f9cc466637027eb02d5607b2bb7.

Fairly trivial contribution, but still something :)