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