Skip to content

Commit

Permalink
Fix clippy::legacy_numeric_constants lints (#144)
Browse files Browse the repository at this point in the history
  • Loading branch information
waywardmonkeys authored Dec 23, 2024
1 parent 218e97a commit cf6530d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/path.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit cf6530d

Please sign in to comment.