External Publication
Visit Post

Introduce a way to construct Range from start + length

Rust Internals [Unofficial] March 12, 2026
Source

CodesInChaos:

However it's still ambiguous with a.. + b.

Without saying whether such an operator is a good idea, it would be a straight-forward edition change to have ..+ become an operator and just insist that all existing ..+ be changed to .. +. (Especially since I doubt there's any non-contrived ..+ in the wild.)

Discussion in the ATmosphere

Loading comments...