External Publication
Visit Post

Introduce a way to construct Range from start + length

Rust Internals [Unofficial] March 12, 2026
Source

I would argue the exact python syntax (a[..-1]) is a footgun, it may looks ok with literals, but it's a source of bug when it's a computed value.

I won't oppose [..Rev(1)] though.

Discussion in the ATmosphere

Loading comments...