about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTyler Mandry <tmandry@gmail.com>2020-08-16 14:59:30 -0700
committerGitHub <noreply@github.com>2020-08-16 14:59:30 -0700
commit18e3799dc8818dda7852b11ea9026aa24e7bf4c2 (patch)
tree06b4e2d8225d7919d0c7a50f6d4503d6e00ff88a
parent8a33c98d52655559faca785be0942c1b43768b5c (diff)
parent4c5896fbeb1a60d1e100c28fbe6cfe81ee2311fa (diff)
downloadrust-18e3799dc8818dda7852b11ea9026aa24e7bf4c2.tar.gz
rust-18e3799dc8818dda7852b11ea9026aa24e7bf4c2.zip
Rollup merge of #75423 - denisvasilik:intra-doc-links-core-hint, r=dtolnay
Move to intra-doc links for /library/core/src/hint.rs

Helps with #75080.

@rustbot modify labels: T-doc, A-intra-doc-links, T-rustdoc
-rw-r--r--library/core/src/hint.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/library/core/src/hint.rs b/library/core/src/hint.rs
index 3dc0ee2b555..461b4c79a1d 100644
--- a/library/core/src/hint.rs
+++ b/library/core/src/hint.rs
@@ -24,7 +24,6 @@ use crate::intrinsics;
 /// Otherwise, consider using the [`unreachable!`] macro, which does not allow
 /// optimizations but will panic when executed.
 ///
-/// [`unreachable!`]: ../macro.unreachable.html
 ///
 /// # Example
 ///
@@ -61,7 +60,7 @@ pub const unsafe fn unreachable_unchecked() -> ! {
 /// **Note**: On platforms that do not support receiving spin-loop hints this function does not
 /// do anything at all.
 ///
-/// [`core::sync::atomic::spin_loop_hint`]: ../sync/atomic/fn.spin_loop_hint.html
+/// [`core::sync::atomic::spin_loop_hint`]: crate::sync::atomic::spin_loop_hint
 #[inline]
 #[unstable(feature = "renamed_spin_loop", issue = "55002")]
 pub fn spin_loop() {