Skip to content

Commit

Permalink
Stabilise into_inner
Browse files Browse the repository at this point in the history
  • Loading branch information
varkor committed May 17, 2018
1 parent edad2ef commit 1b3ecbc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/libcore/ops/range.rs
Original file line number Diff line number Diff line change
Expand Up @@ -400,11 +400,9 @@ impl<Idx> RangeInclusive<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)
Expand Down

0 comments on commit 1b3ecbc

Please sign in to comment.