Fix compilation under rust nightly

Change ranges from A..B to A...B, as per rust-lang/rust@2f15dcd4d3865f9cc466637027eb02d5607b2bb7