@@ -35,8 +35,6 @@ use crate::hash::Hash;
35
35
/// assert_eq!(arr[1..=3], [ 1,2,3 ]);
36
36
/// ```
37
37
///
38
- /// [`IntoIterator`]: crate::iter::IntoIterator
39
- /// [`Iterator`]: crate::iter::Iterator
40
38
/// [slicing index]: crate::slice::SliceIndex
41
39
#[ cfg_attr( not( bootstrap) , lang = "RangeFull" ) ]
42
40
#[ doc( alias = ".." ) ]
@@ -178,8 +176,6 @@ impl<Idx: PartialOrd<Idx>> Range<Idx> {
178
176
/// assert_eq!(arr[1.. 3], [ 1,2 ]);
179
177
/// assert_eq!(arr[1..=3], [ 1,2,3 ]);
180
178
/// ```
181
- ///
182
- /// [`Iterator`]: crate::iter::IntoIterator
183
179
#[ cfg_attr( not( bootstrap) , lang = "RangeFrom" ) ]
184
180
#[ doc( alias = ".." ) ]
185
181
#[ derive( Clone , PartialEq , Eq , Hash ) ] // not Copy -- see #27186
@@ -260,8 +256,6 @@ impl<Idx: PartialOrd<Idx>> RangeFrom<Idx> {
260
256
/// assert_eq!(arr[1..=3], [ 1,2,3 ]);
261
257
/// ```
262
258
///
263
- /// [`IntoIterator`]: crate::iter::IntoIterator
264
- /// [`Iterator`]: crate::iter::Iterator
265
259
/// [slicing index]: crate::slice::SliceIndex
266
260
#[ cfg_attr( not( bootstrap) , lang = "RangeTo" ) ]
267
261
#[ doc( alias = ".." ) ]
@@ -558,8 +552,6 @@ impl<Idx: PartialOrd<Idx>> RangeInclusive<Idx> {
558
552
/// assert_eq!(arr[1..=3], [ 1,2,3 ]);
559
553
/// ```
560
554
///
561
- /// [`IntoIterator`]: crate::iter::IntoIterator
562
- /// [`Iterator`]: crate::iter::Iterator
563
555
/// [slicing index]: crate::slice::SliceIndex
564
556
#[ cfg_attr( not( bootstrap) , lang = "RangeToInclusive" ) ]
565
557
#[ doc( alias = "..=" ) ]
0 commit comments