External Publication
Visit Post

Introduce a way to construct Range from start + length

Rust Internals [Unofficial] March 18, 2026
Source

nitpick: "a".."z" would really be "a"..+24 which was not the proposal, because here we(?) would want Range::from_start_and_len("a", 26) which looks totally reasonable to me; whereas "a"..+x doesn't tell me if x is the total len or the offset from the start.

Discussion in the ATmosphere

Loading comments...