blob: c1bac705f80b32d5eb1e3e63f353f8349910e9bf [file]
//! # Legacy range types
//!
//! The types within this module will be replaced by the types
//! [`Range`], [`RangeInclusive`], [`RangeToInclusive`], and [`RangeFrom`] in the parent
//! module, [`core::range`].
//!
//! The types here are equivalent to those in [`core::ops`].
#[doc(inline)]
#[stable(feature = "new_range_api_legacy", since = "1.98.0")]
pub use crate::ops::{Range, RangeFrom, RangeInclusive, RangeToInclusive};