Skip to content

Commit d5a8a06

Browse files
committed
Fix platform-specific doc string for AtomicUsize::from_mut to be platform-independent
1 parent b2728d5 commit d5a8a06

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)