-
-
Notifications
You must be signed in to change notification settings - Fork 15k
Tracking Issue for range_bounds_is_empty #137300
Copy link
Copy link
Open
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCS-tracking-design-concernsStatus: There are blocking design concerns.Status: There are blocking design concerns.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCS-tracking-design-concernsStatus: There are blocking design concerns.Status: There are blocking design concerns.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Feature gate:
#![feature(range_bounds_is_empty)]This is a tracking issue for the
is_emptymethod onRangeBounds.Public API
Steps / History
IntoBounds::clampandRangeBounds::is_emptylibs-team#539IntoBounds::intersectandRangeBounds::is_empty#137304Unresolved Questions
(Excluded(1), Excluded(2))is considered to be non-empty. This could be a foot gun. Should we add a trait bound to avoid it? Related issues:RangeBounds::is_emptyhas a nonsensical implementation #149625IntoBounds::clampandRangeBounds::is_emptylibs-team#539Footnotes
https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html ↩