-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
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 RFCLibs-TrackedLibs issues that are tracked on the team's project board.Libs issues that are tracked on the team's project board.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.disposition-mergeThis issue / PR is in PFCP or FCP with a disposition to merge it.This issue / PR is in PFCP or FCP with a disposition to merge it.finished-final-comment-periodThe final comment period is finished for this PR / Issue.The final comment period is finished for this PR / Issue.
Description
Feature gate: #![feature(ordering_helpers)]
This is a tracking issue for the 'ordering helpers' feature, which sets out to add some simple helpers to Ordering
such as is_ge()
for checking whether an instance of Ordering
is 'greater than or equal' (is the Greater
or Equal
variant, not the Less
variant).
Public API
// core::cmp
impl Ordering {
pub const fn is_eq(self) -> bool;
pub const fn is_ne(self) -> bool;
pub const fn is_lt(self) -> bool;
pub const fn is_gt(self) -> bool;
pub const fn is_le(self) -> bool;
pub const fn is_ge(self) -> bool;
}
Steps / History
- Implementation: Add some core::cmp::Ordering helpers #79656
- Final commenting period (FCP)
- Stabilization PR: Tracking Issue for 'ordering helpers' #79885
Unresolved Questions
- None yet.
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 RFCLibs-TrackedLibs issues that are tracked on the team's project board.Libs issues that are tracked on the team's project board.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.disposition-mergeThis issue / PR is in PFCP or FCP with a disposition to merge it.This issue / PR is in PFCP or FCP with a disposition to merge it.finished-final-comment-periodThe final comment period is finished for this PR / Issue.The final comment period is finished for this PR / Issue.