core/range/legacy.rs
1//! # Legacy range types
2//!
3//! The types within this module will be replaced by the types
4//! [`Range`], [`RangeInclusive`], [`RangeToInclusive`], and [`RangeFrom`] in the parent
5//! module, [`core::range`].
6//!
7//! The types here are equivalent to those in [`core::ops`].
8
9#[doc(inline)]
10#[stable(feature = "new_range_api_legacy", since = "CURRENT_RUSTC_VERSION")]
11pub use crate::ops::{Range, RangeFrom, RangeInclusive, RangeToInclusive};