mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
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
This commit is contained in:
commit
18e3799dc8
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user