Skip to content

Commit 74b05ab

Browse files
hkBstgitbot
authored and
gitbot
committed
Fix platform-specific doc string for AtomicUsize::from_mut to be platform-independent
1 parent b29625d commit 74b05ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/sync/atomic.rs

+1-1
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)