Skip to content

Commit 42df739

Browse files
tmiaskoAmanieu
authored andcommitted
Fix links in documentation of cmpxchg16b
1 parent 97bda68 commit 42df739

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

crates/core_arch/src/x86_64/cmpxchg16b.rs

+5-5
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ use stdarch_test::assert_instr;
3434
/// support `cmpxchg16b` and the program enters an execution path that
3535
/// eventually would reach this function the behavior is undefined.
3636
///
37-
/// The failure ordering must be [`SeqCst`], [`Acquire`] or [`Relaxed`], or this
38-
/// function call is undefined. See the `Atomic*` documentation's
39-
/// `compare_exchange` function for more information. When `compare_exchange`
40-
/// panics, this is undefined behavior. Currently this function aborts the
41-
/// process with an undefined instruction.
37+
/// The failure ordering must be [`Ordering::SeqCst`], [`Ordering::Acquire`] or
38+
/// [`Ordering::Relaxed`], or this function call is undefined. See the `Atomic*`
39+
/// documentation's `compare_exchange` function for more information. When
40+
/// `compare_exchange` panics, this is undefined behavior. Currently this
41+
/// function aborts the process with an undefined instruction.
4242
#[inline]
4343
#[cfg_attr(test, assert_instr(cmpxchg16b, success = Ordering::SeqCst, failure = Ordering::SeqCst))]
4444
#[target_feature(enable = "cmpxchg16b")]

0 commit comments

Comments
 (0)