Rollup merge of #74185 - pickfire:liballoc-iter-doc, r=jyn514
Remove liballoc unneeded explicit link
This commit is contained in:
commit
3111a8c1e2
@ -2620,9 +2620,6 @@ where
|
|||||||
///
|
///
|
||||||
/// This `struct` is created by the `into_iter` method on [`Vec`] (provided
|
/// This `struct` is created by the `into_iter` method on [`Vec`] (provided
|
||||||
/// by the [`IntoIterator`] trait).
|
/// by the [`IntoIterator`] trait).
|
||||||
///
|
|
||||||
/// [`Vec`]: struct.Vec.html
|
|
||||||
/// [`IntoIterator`]: ../../std/iter/trait.IntoIterator.html
|
|
||||||
#[stable(feature = "rust1", since = "1.0.0")]
|
#[stable(feature = "rust1", since = "1.0.0")]
|
||||||
pub struct IntoIter<T> {
|
pub struct IntoIter<T> {
|
||||||
buf: NonNull<T>,
|
buf: NonNull<T>,
|
||||||
@ -2802,10 +2799,7 @@ unsafe impl<#[may_dangle] T> Drop for IntoIter<T> {
|
|||||||
|
|
||||||
/// A draining iterator for `Vec<T>`.
|
/// A draining iterator for `Vec<T>`.
|
||||||
///
|
///
|
||||||
/// This `struct` is created by the [`drain`] method on [`Vec`].
|
/// This `struct` is created by [`Vec::drain`].
|
||||||
///
|
|
||||||
/// [`drain`]: struct.Vec.html#method.drain
|
|
||||||
/// [`Vec`]: struct.Vec.html
|
|
||||||
#[stable(feature = "drain", since = "1.6.0")]
|
#[stable(feature = "drain", since = "1.6.0")]
|
||||||
pub struct Drain<'a, T: 'a> {
|
pub struct Drain<'a, T: 'a> {
|
||||||
/// Index of tail to preserve
|
/// Index of tail to preserve
|
||||||
@ -2933,11 +2927,8 @@ impl<T> FusedIterator for Drain<'_, T> {}
|
|||||||
|
|
||||||
/// A splicing iterator for `Vec`.
|
/// A splicing iterator for `Vec`.
|
||||||
///
|
///
|
||||||
/// This struct is created by the [`splice()`] method on [`Vec`]. See its
|
/// This struct is created by [`Vec::splice()`].
|
||||||
/// documentation for more.
|
/// See its documentation for more.
|
||||||
///
|
|
||||||
/// [`splice()`]: struct.Vec.html#method.splice
|
|
||||||
/// [`Vec`]: struct.Vec.html
|
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
#[stable(feature = "vec_splice", since = "1.21.0")]
|
#[stable(feature = "vec_splice", since = "1.21.0")]
|
||||||
pub struct Splice<'a, I: Iterator + 'a> {
|
pub struct Splice<'a, I: Iterator + 'a> {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user