mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-22 02:00:00 +03:00
Stabilise into_inner
This commit is contained in:
@@ -400,11 +400,9 @@ pub fn end(&self) -> &Idx {
|
||||
/// # Examples
|
||||
///
|
||||
/// ```
|
||||
/// #![feature(inclusive_range_methods)]
|
||||
///
|
||||
/// assert_eq!((3..=5).into_inner(), (3, 5));
|
||||
/// ```
|
||||
#[unstable(feature = "inclusive_range_methods", issue = "49022")]
|
||||
#[stable(feature = "inclusive_range_methods", since = "1.27.0")]
|
||||
#[inline]
|
||||
pub fn into_inner(self) -> (Idx, Idx) {
|
||||
(self.start, self.end)
|
||||
|
||||
Reference in New Issue
Block a user