pitaj · GitHub

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

Unresolved Questions

Footnotes

  1. https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html

Read the original on github.com ↗