@@ -318,8 +318,6 @@ impl<Idx: PartialOrd<Idx>> RangeTo<Idx> {
318318/// # Examples
319319///
320320/// ```
321- /// #![feature(inclusive_range_methods)]
322- ///
323321/// assert_eq!((3..=5), std::ops::RangeInclusive::new(3, 5));
324322/// assert_eq!(3 + 4 + 5, (3..=5).sum());
325323///
@@ -345,12 +343,11 @@ impl<Idx> RangeInclusive<Idx> {
345343 /// # Examples
346344 ///
347345 /// ```
348- /// #![feature(inclusive_range_methods)]
349346 /// use std::ops::RangeInclusive;
350347 ///
351348 /// assert_eq!(3..=5, RangeInclusive::new(3, 5));
352349 /// ```
353- #[ unstable ( feature = "inclusive_range_methods" , issue = "49022 " ) ]
350+ #[ stable ( feature = "inclusive_range_methods" , since = "1.27.0 " ) ]
354351 #[ inline]
355352 pub const fn new ( start : Idx , end : Idx ) -> Self {
356353 Self { start, end }
@@ -369,11 +366,9 @@ impl<Idx> RangeInclusive<Idx> {
369366 /// # Examples
370367 ///
371368 /// ```
372- /// #![feature(inclusive_range_methods)]
373- ///
374369 /// assert_eq!((3..=5).start(), &3);
375370 /// ```
376- #[ unstable ( feature = "inclusive_range_methods" , issue = "49022 " ) ]
371+ #[ stable ( feature = "inclusive_range_methods" , since = "1.27.0 " ) ]
377372 #[ inline]
378373 pub fn start ( & self ) -> & Idx {
379374 & self . start
@@ -392,11 +387,9 @@ impl<Idx> RangeInclusive<Idx> {
392387 /// # Examples
393388 ///
394389 /// ```
395- /// #![feature(inclusive_range_methods)]
396- ///
397390 /// assert_eq!((3..=5).end(), &5);
398391 /// ```
399- #[ unstable ( feature = "inclusive_range_methods" , issue = "49022 " ) ]
392+ #[ stable ( feature = "inclusive_range_methods" , since = "1.27.0 " ) ]
400393 #[ inline]
401394 pub fn end ( & self ) -> & Idx {
402395 & self . end
0 commit comments