You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since the linked implementation PR was closed (just from inactivity) we don't really have a feature to track here yet. I'll go ahead and close this one now, but if #62282 resurfaces in the future we can re-open this!
Reopening as it this does indeed exist and the tracking issue points here, added in #88502. See #62280 for some discussion about what to do with these traits (added as unresolved questions).
Activity
KodrAus commentedon Jul 29, 2020
Since the linked implementation PR was closed (just from inactivity) we don't really have a feature to track here yet. I'll go ahead and close this one now, but if #62282 resurfaces in the future we can re-open this!
its-the-shrimp commentedon Jun 18, 2024
Should this be reopened now that
OneSidedRangeis on nightly? No clue when it got there, but it is most definitely there, my eyes don't deceive mehttps://doc.rust-lang.org/std/ops/trait.OneSidedRange.html
its-the-shrimp commentedon Jun 18, 2024
Also, should this trait be
unsafe? Since the guarantee ofCan't be represented by this trait directly (in its current form at least)
Making it unsafe will allow for the following use of it:
Another possibility is the following API for this trait:
tgross35 commentedon Feb 9, 2026
Reopening as it this does indeed exist and the tracking issue points here, added in #88502. See #62280 for some discussion about what to do with these traits (added as unresolved questions).
tgross35 commentedon May 15, 2026
These types should probably move to the newly stable
core::range. Added an unresolved question so we don't forget it.Rollup merge of rust-lang#156629 - tgross35:range-module-stabilizatio…
Rollup merge of rust-lang#156629 - tgross35:range-module-stabilizatio…
Unrolled build for #156629