Skip to content

Commit 64df571

Browse files
committed
Remove redundant intra-doc link definitions in _mm_clflushopt
rustdoc resolves _mm_clflush/_mm_sfence/_mm_mfence automatically as intra-doc links since they are in scope under core::arch::x86_64; the explicit reference-definition lines were unnecessary. Other intrinsics (avx.rs, avx512f.rs) already link these bare in prose without definitions.
1 parent dc60b5f commit 64df571

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

crates/core_arch/src/x86/clflushopt.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,6 @@ unsafe extern "C" {
2626
/// Unlike the prefetch intrinsics, `CLFLUSHOPT` is subject to all the
2727
/// permission checking and faults associated with a byte load, so `p` must
2828
/// point to a byte that is valid for reads.
29-
///
30-
/// [`_mm_clflush`]: crate::arch::x86_64::_mm_clflush
31-
/// [`_mm_sfence`]: crate::arch::x86_64::_mm_sfence
32-
/// [`_mm_mfence`]: crate::arch::x86_64::_mm_mfence
3329
#[inline]
3430
#[target_feature(enable = "clflushopt")]
3531
#[cfg_attr(test, assert_instr(clflushopt))]

0 commit comments

Comments
 (0)