Cfg nit
Co-authored-by: Clar Fon <15850505+clarfonthey@users.noreply.github.com>
This commit is contained in:
parent
c4391b326e
commit
33f1d9d554
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue