Add IntoIterator intra doc link to various collections
This commit is contained in:
parent
a8a829deb4
commit
372711906b
7 changed files with 14 additions and 7 deletions
|
@ -1259,9 +1259,10 @@ impl<T> FusedIterator for Iter<'_, T> {}
|
||||||
/// An owning iterator over the elements of a `BinaryHeap`.
|
/// An owning iterator over the elements of a `BinaryHeap`.
|
||||||
///
|
///
|
||||||
/// This `struct` is created by [`BinaryHeap::into_iter()`]
|
/// This `struct` is created by [`BinaryHeap::into_iter()`]
|
||||||
/// (provided by the `IntoIterator` trait). See its documentation for more.
|
/// (provided by the [`IntoIterator`] trait). See its documentation for more.
|
||||||
///
|
///
|
||||||
/// [`into_iter`]: BinaryHeap::into_iter
|
/// [`into_iter`]: BinaryHeap::into_iter
|
||||||
|
/// [`IntoIterator`]: core::iter::IntoIterator
|
||||||
#[stable(feature = "rust1", since = "1.0.0")]
|
#[stable(feature = "rust1", since = "1.0.0")]
|
||||||
#[derive(Clone)]
|
#[derive(Clone)]
|
||||||
pub struct IntoIter<T> {
|
pub struct IntoIter<T> {
|
||||||
|
|
|
@ -326,9 +326,10 @@ impl<K: fmt::Debug, V: fmt::Debug> fmt::Debug for IterMut<'_, K, V> {
|
||||||
/// An owning iterator over the entries of a `BTreeMap`.
|
/// An owning iterator over the entries of a `BTreeMap`.
|
||||||
///
|
///
|
||||||
/// This `struct` is created by the [`into_iter`] method on [`BTreeMap`]
|
/// This `struct` is created by the [`into_iter`] method on [`BTreeMap`]
|
||||||
/// (provided by the `IntoIterator` trait). See its documentation for more.
|
/// (provided by the [`IntoIterator`] trait). See its documentation for more.
|
||||||
///
|
///
|
||||||
/// [`into_iter`]: IntoIterator::into_iter
|
/// [`into_iter`]: IntoIterator::into_iter
|
||||||
|
/// [`IntoIterator`]: core::iter::IntoIterator
|
||||||
#[stable(feature = "rust1", since = "1.0.0")]
|
#[stable(feature = "rust1", since = "1.0.0")]
|
||||||
pub struct IntoIter<K, V> {
|
pub struct IntoIter<K, V> {
|
||||||
range: LazyLeafRange<marker::Dying, K, V>,
|
range: LazyLeafRange<marker::Dying, K, V>,
|
||||||
|
|
|
@ -107,9 +107,10 @@ impl<T: fmt::Debug> fmt::Debug for Iter<'_, T> {
|
||||||
/// An owning iterator over the items of a `BTreeSet`.
|
/// An owning iterator over the items of a `BTreeSet`.
|
||||||
///
|
///
|
||||||
/// This `struct` is created by the [`into_iter`] method on [`BTreeSet`]
|
/// This `struct` is created by the [`into_iter`] method on [`BTreeSet`]
|
||||||
/// (provided by the `IntoIterator` trait). See its documentation for more.
|
/// (provided by the [`IntoIterator`] trait). See its documentation for more.
|
||||||
///
|
///
|
||||||
/// [`into_iter`]: BTreeSet#method.into_iter
|
/// [`into_iter`]: BTreeSet#method.into_iter
|
||||||
|
/// [`IntoIterator`]: core::iter::IntoIterator
|
||||||
#[stable(feature = "rust1", since = "1.0.0")]
|
#[stable(feature = "rust1", since = "1.0.0")]
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
pub struct IntoIter<T> {
|
pub struct IntoIter<T> {
|
||||||
|
|
|
@ -124,9 +124,10 @@ impl<T: fmt::Debug> fmt::Debug for IterMut<'_, T> {
|
||||||
/// An owning iterator over the elements of a `LinkedList`.
|
/// An owning iterator over the elements of a `LinkedList`.
|
||||||
///
|
///
|
||||||
/// This `struct` is created by the [`into_iter`] method on [`LinkedList`]
|
/// This `struct` is created by the [`into_iter`] method on [`LinkedList`]
|
||||||
/// (provided by the `IntoIterator` trait). See its documentation for more.
|
/// (provided by the [`IntoIterator`] trait). See its documentation for more.
|
||||||
///
|
///
|
||||||
/// [`into_iter`]: LinkedList::into_iter
|
/// [`into_iter`]: LinkedList::into_iter
|
||||||
|
/// [`IntoIterator`]: core::iter::IntoIterator
|
||||||
#[derive(Clone)]
|
#[derive(Clone)]
|
||||||
#[stable(feature = "rust1", since = "1.0.0")]
|
#[stable(feature = "rust1", since = "1.0.0")]
|
||||||
pub struct IntoIter<T> {
|
pub struct IntoIter<T> {
|
||||||
|
|
|
@ -8,9 +8,10 @@ use super::VecDeque;
|
||||||
/// An owning iterator over the elements of a `VecDeque`.
|
/// An owning iterator over the elements of a `VecDeque`.
|
||||||
///
|
///
|
||||||
/// This `struct` is created by the [`into_iter`] method on [`VecDeque`]
|
/// This `struct` is created by the [`into_iter`] method on [`VecDeque`]
|
||||||
/// (provided by the `IntoIterator` trait). See its documentation for more.
|
/// (provided by the [`IntoIterator`] trait). See its documentation for more.
|
||||||
///
|
///
|
||||||
/// [`into_iter`]: VecDeque::into_iter
|
/// [`into_iter`]: VecDeque::into_iter
|
||||||
|
/// [`IntoIterator`]: core::iter::IntoIterator
|
||||||
#[derive(Clone)]
|
#[derive(Clone)]
|
||||||
#[stable(feature = "rust1", since = "1.0.0")]
|
#[stable(feature = "rust1", since = "1.0.0")]
|
||||||
pub struct IntoIter<
|
pub struct IntoIter<
|
||||||
|
|
|
@ -1257,9 +1257,10 @@ impl<'a, K, V> IterMut<'a, K, V> {
|
||||||
/// An owning iterator over the entries of a `HashMap`.
|
/// An owning iterator over the entries of a `HashMap`.
|
||||||
///
|
///
|
||||||
/// This `struct` is created by the [`into_iter`] method on [`HashMap`]
|
/// This `struct` is created by the [`into_iter`] method on [`HashMap`]
|
||||||
/// (provided by the `IntoIterator` trait). See its documentation for more.
|
/// (provided by the [`IntoIterator`] trait). See its documentation for more.
|
||||||
///
|
///
|
||||||
/// [`into_iter`]: IntoIterator::into_iter
|
/// [`into_iter`]: IntoIterator::into_iter
|
||||||
|
/// [`IntoIterator`]: crate::iter::IntoIterator
|
||||||
///
|
///
|
||||||
/// # Example
|
/// # Example
|
||||||
///
|
///
|
||||||
|
|
|
@ -1237,9 +1237,10 @@ pub struct Iter<'a, K: 'a> {
|
||||||
/// An owning iterator over the items of a `HashSet`.
|
/// An owning iterator over the items of a `HashSet`.
|
||||||
///
|
///
|
||||||
/// This `struct` is created by the [`into_iter`] method on [`HashSet`]
|
/// This `struct` is created by the [`into_iter`] method on [`HashSet`]
|
||||||
/// (provided by the `IntoIterator` trait). See its documentation for more.
|
/// (provided by the [`IntoIterator`] trait). See its documentation for more.
|
||||||
///
|
///
|
||||||
/// [`into_iter`]: IntoIterator::into_iter
|
/// [`into_iter`]: IntoIterator::into_iter
|
||||||
|
/// [`IntoIterator`]: crate::iter::IntoIterator
|
||||||
///
|
///
|
||||||
/// # Examples
|
/// # Examples
|
||||||
///
|
///
|
||||||
|
|
Loading…
Add table
Reference in a new issue