Skip to content

Commit

Permalink
Rollup merge of rust-lang#87842 - steffahn:hidden_broken_intra_doc, r…
Browse files Browse the repository at this point in the history
…=dtolnay

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 rust-lang#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 c0c0a4d + 5c30df5 commit da7ada4
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 da7ada4

Please sign in to comment.