@@ -2620,9 +2620,6 @@ where
2620
2620
///
2621
2621
/// This `struct` is created by the `into_iter` method on [`Vec`] (provided
2622
2622
/// by the [`IntoIterator`] trait).
2623
- ///
2624
- /// [`Vec`]: struct.Vec.html
2625
- /// [`IntoIterator`]: ../../std/iter/trait.IntoIterator.html
2626
2623
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
2627
2624
pub struct IntoIter < T > {
2628
2625
buf : NonNull < T > ,
@@ -2802,10 +2799,7 @@ unsafe impl<#[may_dangle] T> Drop for IntoIter<T> {
2802
2799
2803
2800
/// A draining iterator for `Vec<T>`.
2804
2801
///
2805
- /// This `struct` is created by the [`drain`] method on [`Vec`].
2806
- ///
2807
- /// [`drain`]: struct.Vec.html#method.drain
2808
- /// [`Vec`]: struct.Vec.html
2802
+ /// This `struct` is created by [`Vec::drain`].
2809
2803
#[ stable( feature = "drain" , since = "1.6.0" ) ]
2810
2804
pub struct Drain < ' a , T : ' a > {
2811
2805
/// Index of tail to preserve
@@ -2933,11 +2927,8 @@ impl<T> FusedIterator for Drain<'_, T> {}
2933
2927
2934
2928
/// A splicing iterator for `Vec`.
2935
2929
///
2936
- /// This struct is created by the [`splice()`] method on [`Vec`]. See its
2937
- /// documentation for more.
2938
- ///
2939
- /// [`splice()`]: struct.Vec.html#method.splice
2940
- /// [`Vec`]: struct.Vec.html
2930
+ /// This struct is created by [`Vec::splice()`].
2931
+ /// See its documentation for more.
2941
2932
#[ derive( Debug ) ]
2942
2933
#[ stable( feature = "vec_splice" , since = "1.21.0" ) ]
2943
2934
pub struct Splice < ' a , I : Iterator + ' a > {
0 commit comments