@@ -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///
@@ -355,12 +353,11 @@ impl<Idx> RangeInclusive<Idx> {
355353 /// # Examples
356354 ///
357355 /// ```
358- /// #![feature(inclusive_range_methods)]
359356 /// use std::ops::RangeInclusive;
360357 ///
361358 /// assert_eq!(3..=5, RangeInclusive::new(3, 5));
362359 /// ```
363- #[ unstable ( feature = "inclusive_range_methods" , issue = "49022 " ) ]
360+ #[ stable ( feature = "inclusive_range_methods" , since = "1.27.0 " ) ]
364361 #[ inline]
365362 pub const fn new ( start : Idx , end : Idx ) -> Self {
366363 Self { start, end }
@@ -379,11 +376,9 @@ impl<Idx> RangeInclusive<Idx> {
379376 /// # Examples
380377 ///
381378 /// ```
382- /// #![feature(inclusive_range_methods)]
383- ///
384379 /// assert_eq!((3..=5).start(), &3);
385380 /// ```
386- #[ unstable ( feature = "inclusive_range_methods" , issue = "49022 " ) ]
381+ #[ stable ( feature = "inclusive_range_methods" , since = "1.27.0 " ) ]
387382 #[ inline]
388383 pub fn start ( & self ) -> & Idx {
389384 & self . start
@@ -402,11 +397,9 @@ impl<Idx> RangeInclusive<Idx> {
402397 /// # Examples
403398 ///
404399 /// ```
405- /// #![feature(inclusive_range_methods)]
406- ///
407400 /// assert_eq!((3..=5).end(), &5);
408401 /// ```
409- #[ unstable ( feature = "inclusive_range_methods" , issue = "49022 " ) ]
402+ #[ stable ( feature = "inclusive_range_methods" , since = "1.27.0 " ) ]
410403 #[ inline]
411404 pub fn end ( & self ) -> & Idx {
412405 & self . end
0 commit comments