Skip to content

Commit 33f1d9d

Browse files
Cfg nit
Co-authored-by: Clar Fon <15850505+clarfonthey@users.noreply.github.com>
1 parent c4391b3 commit 33f1d9d

File tree

1 file changed

+1
-1
lines changed
  • library/core/src/num/dec2flt

1 file changed

+1
-1
lines changed

library/core/src/num/dec2flt/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ pub fn dec2flt<F: RawFloat>(s: &str) -> Result<F, ParseFloatError> {
250250
None => return Err(pfe_invalid()),
251251
};
252252
num.negative = negative;
253-
if cfg!(not(feature = "optimize_for_size")) {
253+
if !cfg!(feature = "optimize_for_size") {
254254
if let Some(value) = num.try_fast_path::<F>() {
255255
return Ok(value);
256256
}

0 commit comments

Comments
 (0)