External Publication
Visit Post

Introduce a way to construct Range from start + length

Rust Internals [Unofficial] March 12, 2026
Source

cuviper:

(start..).with_len(count)

(start..)[..count]

(but then do we have to allow (start..)[4] i.e. start + 4 or is it just disallowed? Anyway spitballing)

Discussion in the ATmosphere

Loading comments...