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.
impl From<bool> for AtomicBool
1 parent 652a4bd commit 71d766bCopy full SHA for 71d766b
src/libcore/sync/atomic.rs
@@ -928,7 +928,7 @@ impl<T> AtomicPtr<T> {
928
}
929
930
#[cfg(target_has_atomic = "8")]
931
-#[stable(feature = "atomic_from", since = "1.23.0")]
+#[stable(feature = "atomic_bool_from", since = "1.24.0")]
932
impl From<bool> for AtomicBool {
933
#[inline]
934
fn from(b: bool) -> Self { Self::new(b) }
0 commit comments