about summary refs log tree commit diff
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2021-08-08 01:13:45 +0900
committerGitHub <noreply@github.com>2021-08-08 01:13:45 +0900
commitc159806cf0b2004614f3b43556072a650eb6029a (patch)
treef1fc447ecf5349e783fb6f7eb73fbfdf76a881bf
parent349290047f6dda53350b77651d36be2aba7add69 (diff)
parent5c30df59547f9aa72eaa08ba4801ea8c45030e07 (diff)
downloadrust-c159806cf0b2004614f3b43556072a650eb6029a.tar.gz
rust-c159806cf0b2004614f3b43556072a650eb6029a.zip
Rollup merge of #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 #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
-rw-r--r--library/core/src/iter/traits/iterator.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/iter/traits/iterator.rs b/library/core/src/iter/traits/iterator.rs
index c199b068cbb..6b24d33bebc 100644
--- a/library/core/src/iter/traits/iterator.rs
+++ b/library/core/src/iter/traits/iterator.rs
@@ -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]