Cfg nit · model-checking/verify-rust-std@32a1b07 (original) (raw)
Navigation Menu
- GitHub Copilot Write better code with AI
- GitHub Models New Manage and compare prompts
- GitHub Advanced Security Find and fix vulnerabilities
- Actions Automate any workflow
- Codespaces Instant dev environments
- Issues Plan and track work
- Code Review Manage code changes
- Discussions Collaborate outside of code
- Code Search Find more, search less
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Commit 32a1b07
and
authored
Cfg nit
Co-authored-by: Clar Fon 15850505+clarfonthey@users.noreply.github.com
File tree
1 file changed
lines changed
1 file changed
lines changed
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -250,7 +250,7 @@ pub fn dec2flt<F: RawFloat>(s: &str) -> Result<F, ParseFloatError> { | ||
250 | 250 | None => return Err(pfe_invalid()), |
251 | 251 | }; |
252 | 252 | num.negative = negative; |
253 | -if cfg!(not(feature = "optimize_for_size")) { | |
253 | +if !cfg!(feature = "optimize_for_size") { | |
254 | 254 | if let Some(value) = num.try_fast_path::<F>() { |
255 | 255 | return Ok(value); |
256 | 256 | } |