We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 828d4ac commit 7f35e2dCopy full SHA for 7f35e2d
library/core/src/sync/atomic.rs
@@ -546,6 +546,7 @@ impl AtomicBool {
546
/// ```
547
#[inline]
548
#[stable(feature = "extended_compare_and_swap", since = "1.10.0")]
549
+ #[doc(alias = "compare_and_swap")]
550
#[cfg(target_has_atomic = "8")]
551
pub fn compare_exchange(
552
&self,
@@ -599,6 +600,7 @@ impl AtomicBool {
599
600
601
602
603
604
605
pub fn compare_exchange_weak(
606
0 commit comments