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 ee12c01 commit 7c211c1Copy full SHA for 7c211c1
src/impls.rs
@@ -680,6 +680,7 @@ mod atomics {
680
// TODO(#170): Implement `FromBytes` and `IntoBytes` once we implement
681
// those traits for `*mut T`.
682
impl_for_transmute_from!(T => TryFromBytes for AtomicPtr<T> [UnsafeCell<*mut T>]);
683
+ impl_for_transmute_from!(T => FromZeros for AtomicPtr<T> [UnsafeCell<*mut T>]);
684
685
safety_comment! {
686
/// SAFETY:
0 commit comments