Introduce a way to construct Range from start + length
Rust Internals [Unofficial]
March 29, 2026
kornel:
This could be added as a method to
RangeFromwithout being blocked by a new syntax:(start..).take(len)
(start..).take(len) already exists for the old range types, it just returns std::iter::Take<RangeFrom<T>> instead of Range<T>. I think adding it for the new range types is a good idea since they don't directly implement Iterator
Discussion in the ATmosphere