File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff 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" ) ]
6464pub fn spin_loop ( ) {
Original file line number Diff line number Diff 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" ) ]
154154pub fn spin_loop_hint ( ) {
You can’t perform that action at this time.
0 commit comments