From 43ffb14a7a497554787caad91346a2a2090ddd8c Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Tue, 27 Aug 2024 23:04:53 +0700 Subject: [PATCH] Fix `clippy::legacy_numeric_constants` lint --- fidget/src/jit/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fidget/src/jit/mod.rs b/fidget/src/jit/mod.rs index dbb3dcbb..a948a590 100644 --- a/fidget/src/jit/mod.rs +++ b/fidget/src/jit/mod.rs @@ -1004,7 +1004,7 @@ impl JitTracingEval { let mut simplify = 0; self.choices.resize(tape.choice_count, Choice::Unknown); self.choices.fill(Choice::Unknown); - let mut out = std::f32::NAN.into(); + let mut out = f32::NAN.into(); unsafe { (tape.fn_trace)( vars.as_ptr(),