We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 60fc66b + 4c5896f commit 58a0860Copy full SHA for 58a0860
library/core/src/hint.rs
@@ -24,7 +24,6 @@ use crate::intrinsics;
24
/// Otherwise, consider using the [`unreachable!`] macro, which does not allow
25
/// optimizations but will panic when executed.
26
///
27
-/// [`unreachable!`]: ../macro.unreachable.html
28
29
/// # Example
30
@@ -61,7 +60,7 @@ pub const unsafe fn unreachable_unchecked() -> ! {
61
60
/// **Note**: On platforms that do not support receiving spin-loop hints this function does not
62
/// do anything at all.
63
64
-/// [`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
65
#[inline]
66
#[unstable(feature = "renamed_spin_loop", issue = "55002")]
67
pub fn spin_loop() {
0 commit comments