Skip to content

Commit

Permalink
Rollup merge of #87842 - steffahn:hidden_broken_intra_doc, r=dtolnay
Browse files Browse the repository at this point in the history
Fix intra doc link in hidden doc of Iterator::__iterator_get_unchecked

Recently, I edited the import list of the `core::iter::traits::iterator` module (in #85874). This results in a broken intra doc link in a hidden documentation with the effect that `RUSTDOCFLAGS='--document-private-items --document-hidden-items' x doc library/std` fails. (This can be worked around by adding `-Arustdoc::broken-intra-doc-links`; still, it’s a broken link so let’s fix it.)

``@rustbot`` label C-cleanup, T-libs
  • Loading branch information
JohnTitor committed Aug 7, 2021
2 parents 3492900 + 5c30df5 commit c159806
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/src/iter/traits/iterator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3452,7 +3452,7 @@ pub trait Iterator {
self.map(f).is_sorted()
}

/// See [TrustedRandomAccess]
/// See [TrustedRandomAccess][super::super::TrustedRandomAccess]
// The unusual name is to avoid name collisions in method resolution
// see #76479.
#[inline]
Expand Down

0 comments on commit c159806

Please sign in to comment.