Cfg nit
Co-authored-by: Clar Fon <15850505+clarfonthey@users.noreply.github.com>
This commit is contained in:
parent
c4391b326e
commit
33f1d9d554
@ -250,7 +250,7 @@ pub fn dec2flt<F: RawFloat>(s: &str) -> Result<F, ParseFloatError> {
|
|||||||
None => return Err(pfe_invalid()),
|
None => return Err(pfe_invalid()),
|
||||||
};
|
};
|
||||||
num.negative = negative;
|
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>() {
|
if let Some(value) = num.try_fast_path::<F>() {
|
||||||
return Ok(value);
|
return Ok(value);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user