Skip to content

Commit

Permalink
Cfg nit
Browse files Browse the repository at this point in the history
Co-authored-by: Clar Fon <15850505+clarfonthey@users.noreply.github.com>
  • Loading branch information
diondokter and clarfonthey authored Jul 16, 2024
1 parent 019e01f commit 32a1b07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/num/dec2flt/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ pub fn dec2flt<F: RawFloat>(s: &str) -> Result<F, ParseFloatError> {
None => return Err(pfe_invalid()),
};
num.negative = negative;
if cfg!(not(feature = "optimize_for_size")) {
if !cfg!(feature = "optimize_for_size") {
if let Some(value) = num.try_fast_path::<F>() {
return Ok(value);
}
Expand Down

0 comments on commit 32a1b07

Please sign in to comment.