Feature gate: #![feature(new_range_remainder)]
This is a tracking issue for the remainder method of new std::range iterator types.
Public API
// core::range
impl<A: Step> RangeFromIter<A> {
pub fn remainder(self) -> RangeFrom<A>;
}
impl<A: Step> RangeInclusiveIter<A> {
pub fn remainder(self) -> Option<RangeInclusive<A>>;
}
impl<A> RangeIter<A> {
pub fn remainder(self) -> Range<A>;
}
Steps / History
(Remember to update the S-tracking-* label when checking boxes.)
Unresolved Questions
See Also
Feature gate:
#![feature(new_range_remainder)]This is a tracking issue for the
remaindermethod of newstd::rangeiterator types.Public API
Steps / History
(Remember to update the
S-tracking-*label when checking boxes.)new_rangeRFC RFC: New range types for Edition 2024 rfcs#3550new_range_apifor RFC 3550 #125751Unresolved Questions
RangeIter::remainder? #154443RangeIter::remainder? #154443 (comment)See Also
new_range_api(part of RFC 3550) #125687Footnotes
https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html ↩