We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c4391b3 commit 33f1d9dCopy full SHA for 33f1d9d
library/core/src/num/dec2flt/mod.rs
@@ -250,7 +250,7 @@ pub fn dec2flt<F: RawFloat>(s: &str) -> Result<F, ParseFloatError> {
250
None => return Err(pfe_invalid()),
251
};
252
num.negative = negative;
253
- if cfg!(not(feature = "optimize_for_size")) {
+ if !cfg!(feature = "optimize_for_size") {
254
if let Some(value) = num.try_fast_path::<F>() {
255
return Ok(value);
256
}
0 commit comments