diff options
| author | Marijn Schouten <hkBst@users.noreply.github.com> | 2025-01-22 09:30:28 +0100 |
|---|---|---|
| committer | Marijn Schouten <mhkbst@gmail.com> | 2025-01-28 14:12:55 +0100 |
| commit | aa1f941116e62aca07ea916bfef605b19793e058 (patch) | |
| tree | b8a00663aedfe55fa736a63e82da31e786c6bb4e | |
| parent | b2728d5426bab1d8c39709768c7e22b7f66dde5d (diff) | |
| download | rust-aa1f941116e62aca07ea916bfef605b19793e058.tar.gz rust-aa1f941116e62aca07ea916bfef605b19793e058.zip | |
Fix platform-specific doc string for AtomicUsize::from_mut to be platform-independent
| -rw-r--r-- | library/core/src/sync/atomic.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/sync/atomic.rs b/library/core/src/sync/atomic.rs index fda26a67299..f7aa8381855 100644 --- a/library/core/src/sync/atomic.rs +++ b/library/core/src/sync/atomic.rs @@ -2297,7 +2297,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), "`." ], }] /// |
