Skip to content

Commit 5c30cc6

Browse files
hkBstgitbot
authored and
gitbot
committed
Fix platform-specific doc string for AtomicUsize::from_mut to be platform-independent
1 parent 708d2b0 commit 5c30cc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/sync/atomic.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2547,7 +2547,7 @@ macro_rules! atomic_int {
25472547
$int_type,
25482548
no = [
25492549
"**Note:** This function is only available on targets where `",
2550-
stringify!($int_type), "` has an alignment of ", $align, " bytes."
2550+
stringify!($atomic_type), "` has the same alignment as `", stringify!($int_type), "`."
25512551
],
25522552
}]
25532553
///

0 commit comments

Comments
 (0)