Skip to content

Commit 3974a40

Browse files
Fix clippy::legacy_numeric_constants lint (#1456)
1 parent 36ce13e commit 3974a40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/geometry/rotation_specialization.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ impl<T: SimdRealField> Rotation2<T> {
100100
T: RealField,
101101
{
102102
if max_iter == 0 {
103-
max_iter = usize::max_value();
103+
max_iter = usize::MAX;
104104
}
105105

106106
let mut rot = guess.into_inner();

0 commit comments

Comments
 (0)