Closed
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
Category: An issue tracking the progress of sth. like the implementation of an RFCLibs issues that are tracked on the team's project board.Relevant to the library API team, which will review and decide on the PR/issue.This issue / PR is in PFCP or FCP with a disposition to merge it.The final comment period is finished for this PR / Issue.