Tracking Issue for range_bounds_is_empty
· Issue #137300 · rust-lang/rust (original) (raw)
Feature gate: #![feature(range_bounds_is_empty)]
This is a tracking issue for the is_empty
method on RangeBounds
.
Public API
// core::ops pub trait RangeBounds<T: ?Sized> { ...
fn is_empty(&self) -> bool
where
T: PartialOrd,
{
...
}
}
Steps / History
- ACP: IntoBounds::clamp and RangeBounds::is_empty libs-team#539
- Implementation: add IntoBounds::intersect and RangeBounds::is_empty #137304
- Final comment period (FCP)1
- Stabilization PR
Unresolved Questions
- None yet.