about summary refs log tree commit diff
diff options
context:
space:
mode:
authorIvan Tham <pickfire@riseup.net>2020-10-05 23:29:43 +0800
committerGitHub <noreply@github.com>2020-10-05 23:29:43 +0800
commitcb881d36ae0060e1dc6815e7caefe4e8df79dc09 (patch)
treef66eed5860cbff3dff799e2b4a182f832ddc4c44
parent554145609484d111f6ca3acaca644ae881c20a10 (diff)
downloadrust-cb881d36ae0060e1dc6815e7caefe4e8df79dc09.tar.gz
rust-cb881d36ae0060e1dc6815e7caefe4e8df79dc09.zip
hint doc use intra-doc links
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
-rw-r--r--library/core/src/hint.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/hint.rs b/library/core/src/hint.rs
index 5d8137f91ee..454fb34e77e 100644
--- a/library/core/src/hint.rs
+++ b/library/core/src/hint.rs
@@ -107,7 +107,7 @@ pub fn spin_loop() {
 /// extent to which it can block optimisations may vary depending upon the platform and code-gen
 /// backend used. Programs cannot rely on `black_box` for *correctness* in any way.
 ///
-/// [`std::convert::identity`]: ../convert/fn.identity.html
+/// [`std::convert::identity`]: crate::convert::identity
 #[cfg_attr(not(miri), inline)]
 #[cfg_attr(miri, inline(never))]
 #[unstable(feature = "test", issue = "50297")]