We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Feature gate: #![feature(one_sided_range)]
#![feature(one_sided_range)]
This is a tracking issue for the OneSidedRange trait, used in the signature of (stable) [T]::splt_off and similar API.
OneSidedRange
[T]::splt_off
// core::ops pub enum OneSidedRangeBound { StartInclusive, End, EndInclusive, } pub const trait OneSidedRange<T>: RangeBounds<T> { fn bound(self) -> (OneSidedRangeBound, T); } impl<T> OneSidedRange<T> for RangeTo<T> where Self: RangeBounds<T>, { fn bound(self) -> (OneSidedRangeBound, T); } impl<T> OneSidedRange<T> for RangeFrom<T> where Self: RangeBounds<T>, { fn bound(self) -> (OneSidedRangeBound, T); } impl<T> OneSidedRange<T> for RangeToInclusive<T> where Self: RangeBounds<T>, { fn bound(self) -> (OneSidedRangeBound, T); }
(Remember to update the S-tracking-* label when checking boxes.)
S-tracking-*
Related: tracking issue for slice_take #62280
slice_take
core::range
https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html ↩
Feature gate:
#![feature(one_sided_range)]This is a tracking issue for the
OneSidedRangetrait, used in the signature of (stable)[T]::splt_offand similar API.Public API
Steps / History
(Remember to update the
S-tracking-*label when checking boxes.)Related: tracking issue for
slice_take#62280Unresolved Questions
slice_take#62280 (comment)core::range?Footnotes
https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html ↩