External Publication
Visit Post

Introduce a way to construct Range from start + length

Rust Internals [Unofficial] March 12, 2026
Source

wyfo:

[..s.len() - 1]

You can do s.split_last().unwrap().1

Discussion in the ATmosphere

Loading comments...