Skip to content

Commit c159806

Browse files
authored
Rollup merge of rust-lang#87842 - steffahn:hidden_broken_intra_doc, r=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
2 parents 3492900 + 5c30df5 commit c159806

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/iter/traits/iterator.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3452,7 +3452,7 @@ pub trait Iterator {
34523452
self.map(f).is_sorted()
34533453
}
34543454

3455-
/// See [TrustedRandomAccess]
3455+
/// See [TrustedRandomAccess][super::super::TrustedRandomAccess]
34563456
// The unusual name is to avoid name collisions in method resolution
34573457
// see #76479.
34583458
#[inline]

0 commit comments

Comments
 (0)