From cb881d36ae0060e1dc6815e7caefe4e8df79dc09 Mon Sep 17 00:00:00 2001 From: Ivan Tham Date: Mon, 5 Oct 2020 23:29:43 +0800 Subject: [PATCH] hint doc use intra-doc links Co-authored-by: Joshua Nelson --- library/core/src/hint.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")]