Skip to content

Commit eb48b5d

Browse files
author
Arno Haase
committed
broken hyperlinks in documentation
1 parent f4f136e commit eb48b5d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/libcore/hint.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ pub unsafe fn unreachable_unchecked() -> ! {
5858
/// **Note**: On platforms that do not support receiving spin-loop hints this function does not
5959
/// do anything at all.
6060
///
61-
/// [`core::sync::atomic::spin_loop_hint`]: ./sync/atomic/fn.spin_loop_hint.html
61+
/// [`core::sync::atomic::spin_loop_hint`]: ../sync/atomic/fn.spin_loop_hint.html
6262
#[inline]
6363
#[unstable(feature = "renamed_spin_loop", issue = "55002")]
6464
pub fn spin_loop() {

src/libcore/sync/atomic.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ use crate::hint::spin_loop;
148148
///
149149
/// [`std::thread::yield_now`]: ../../../std/thread/fn.yield_now.html
150150
/// [`std::thread::sleep`]: ../../../std/thread/fn.sleep.html
151-
/// [`std::sync::Mutex`]: ../../../std/sync/Mutex.html
151+
/// [`std::sync::Mutex`]: ../../../std/sync/struct.Mutex.html
152152
#[inline]
153153
#[stable(feature = "spin_loop_hint", since = "1.24.0")]
154154
pub fn spin_loop_hint() {

0 commit comments

Comments
 (0)