Skip to content

Commit 6b4757b

Browse files
authored
Rollup merge of #135869 - hkBst:patch-12, r=Noratrieb
Make docs for AtomicUsize::from_mut platform-independent fixes #133342
2 parents aa6f5ab + aa1f941 commit 6b4757b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/sync/atomic.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2297,7 +2297,7 @@ macro_rules! atomic_int {
22972297
$int_type,
22982298
no = [
22992299
"**Note:** This function is only available on targets where `",
2300-
stringify!($int_type), "` has an alignment of ", $align, " bytes."
2300+
stringify!($atomic_type), "` has the same alignment as `", stringify!($int_type), "`."
23012301
],
23022302
}]
23032303
///

0 commit comments

Comments
 (0)