diff options
| author | Ben Kimock <kimockb@gmail.com> | 2025-09-18 10:48:18 -0400 |
|---|---|---|
| committer | Ben Kimock <kimockb@gmail.com> | 2025-09-21 13:12:20 -0400 |
| commit | df58fd8cf7710f7516c541769a141f0235978dab (patch) | |
| tree | 01fb95a4eb0082b53f0e0f833d8a2fd507b54385 /library/core/src/num/mod.rs | |
| parent | 888679013d1f424adef06267f3630069b4cabd40 (diff) | |
| download | rust-df58fd8cf7710f7516c541769a141f0235978dab.tar.gz rust-df58fd8cf7710f7516c541769a141f0235978dab.zip | |
Change the cfg to a dash
Diffstat (limited to 'library/core/src/num/mod.rs')
| -rw-r--r-- | library/core/src/num/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/core/src/num/mod.rs b/library/core/src/num/mod.rs index 3c4bfe28aa3..c75ee11d15e 100644 --- a/library/core/src/num/mod.rs +++ b/library/core/src/num/mod.rs @@ -1387,8 +1387,8 @@ pub const fn can_not_overflow<T>(radix: u32, is_signed_ty: bool, digits: &[u8]) radix <= 16 && digits.len() <= size_of::<T>() * 2 - is_signed_ty as usize } -#[cfg_attr(not(panic = "immediate_abort"), inline(never))] -#[cfg_attr(panic = "immediate_abort", inline)] +#[cfg_attr(not(panic = "immediate-abort"), inline(never))] +#[cfg_attr(panic = "immediate-abort", inline)] #[cold] #[track_caller] const fn from_ascii_radix_panic(radix: u32) -> ! { |
