Skip to content

Commit 32a1b07

Browse files
Cfg nit
Co-authored-by: Clar Fon <[email protected]>
1 parent 019e01f commit 32a1b07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)