You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Remove duplicate alignment note that mentioned `AtomicBool` with other
types
* Update safety requirements about when non-atomic operations are
allowed
/// * `ptr` must be aligned to `align_of::<AtomicBool>()` (note that on some platforms this can be bigger than `align_of::<bool>()`).
2113
-
#[doc = concat!(" * `ptr` must be aligned to `align_of::<", stringify!($atomic_type),">()` (note that on some platforms this can be bigger than `align_of::<", stringify!($int_type),">()`).")]
2118
+
#[doc = concat!(" * `ptr` must be aligned to \
2119
+
`align_of::<", stringify!($atomic_type),">()` (note that on some platforms this \
2120
+
can be bigger than `align_of::<", stringify!($int_type),">()`).")]
2114
2121
/// * `ptr` must be [valid] for both reads and writes for the whole lifetime `'a`.
2115
-
/// * The value behind `ptr` must not be accessed through non-atomic operations for the whole lifetime `'a`.
2122
+
/// * The value behind `ptr` must not be accessed through non-atomic operations whenever the
0 commit comments