Cfg nit · model-checking/verify-rust-std@32a1b07 (original) (raw)
Commit 32a1b07
and
authored
Cfg nit
Co-authored-by: Clar Fon 15850505+clarfonthey@users.noreply.github.com
File tree
1 file changed
lines changed
1 file changed
lines changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -250,7 +250,7 @@ pub fn dec2flt<F: RawFloat>(s: &str) -> Result<F, ParseFloatError> { | ||
| 250 | 250 | None => return Err(pfe_invalid()), |
| 251 | 251 | }; |
| 252 | 252 | num.negative = negative; |
| 253 | -if cfg!(not(feature = "optimize_for_size")) { | |
| 253 | +if !cfg!(feature = "optimize_for_size") { | |
| 254 | 254 | if let Some(value) = num.try_fast_path::<F>() { |
| 255 | 255 | return Ok(value); |
| 256 | 256 | } |