From cf6530d4b58ebb059684b446f54794b91ccc96a1 Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Mon, 23 Dec 2024 08:17:25 -0500 Subject: [PATCH] Fix `clippy::legacy_numeric_constants` lints (#144) --- tests/integration/path.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/path.rs b/tests/integration/path.rs index 1d4a730..a25ac0a 100644 --- a/tests/integration/path.rs +++ b/tests/integration/path.rs @@ -252,7 +252,7 @@ fn invalid_transform() { let path = pb.finish().unwrap(); // will produce infinity - assert_eq!(path.transform(Transform::from_scale(std::f32::MAX, std::f32::MAX)), None); + assert_eq!(path.transform(Transform::from_scale(f32::MAX, f32::MAX)), None); } #[test]