External Publication
Visit Post

Introduce a way to construct Range from start + length

Rust Internals [Unofficial] March 18, 2026
Source

Note that I might be able to agree about 'a'..+25 (a Range<char>), but what string comes "25th after" "a"? If one limits themselves to lowercase ASCII values, it would be "aaaaaaaaaaaaaaaaaaaaaaaaaa". But then "ab" is unreachable via ..+ syntax.

Discussion in the ATmosphere

Loading comments...