Fix platform-specific doc string for AtomicUsize::from_mut to be platform-independent

This commit is contained in:
Marijn Schouten 2025-01-22 09:30:28 +01:00 committed by Marijn Schouten
parent b2728d5426
commit aa1f941116

View file

@ -2297,7 +2297,7 @@ macro_rules! atomic_int {
$int_type,
no = [
"**Note:** This function is only available on targets where `",
stringify!($int_type), "` has an alignment of ", $align, " bytes."
stringify!($atomic_type), "` has the same alignment as `", stringify!($int_type), "`."
],
}]
///