Skip to content

Commit

Permalink
Fix platform-specific doc string for AtomicUsize::from_mut to be plat…
Browse files Browse the repository at this point in the history
…form-independent
  • Loading branch information
hkBst authored and gitbot committed Feb 20, 2025
1 parent 3ff6a84 commit d70d068
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/sync/atomic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2547,7 +2547,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), "`."
],
}]
///
Expand Down

0 comments on commit d70d068

Please sign in to comment.