diff options
| author | varkor <github@varkor.com> | 2018-05-14 23:31:20 +0100 |
|---|---|---|
| committer | varkor <github@varkor.com> | 2018-05-17 20:58:28 +0100 |
| commit | 1b3ecbcebb38e06495819324f2a67f1d0eb24a23 (patch) | |
| tree | e46155026fc1241f9f4d7dbd636b4b9940ee4fbd /src/libcore | |
| parent | edad2eff0c0587cd0b9d4b46f11579ef43388be8 (diff) | |
| download | rust-1b3ecbcebb38e06495819324f2a67f1d0eb24a23.tar.gz rust-1b3ecbcebb38e06495819324f2a67f1d0eb24a23.zip | |
Stabilise into_inner
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/ops/range.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libcore/ops/range.rs b/src/libcore/ops/range.rs index 70da5fcda00..6f2a08999bc 100644 --- a/src/libcore/ops/range.rs +++ b/src/libcore/ops/range.rs @@ -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) |
