mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 22:12:15 +00:00
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()),
|
||||
};
|
||||
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…
Reference in New Issue
Block a user