refactor: remove std:: prefix as clippy suggested

This commit is contained in:
Marc-Antoine Arnaud 2024-06-17 21:53:41 +02:00
parent 3e416bedcc
commit e4aff84acb

View File

@ -47,7 +47,7 @@ fn skip_serializing_if_for_struct() {
}
fn check_f32_function(&self, value: &f32) -> bool {
(value - 0.0).abs() < std::f32::EPSILON
(value - 0.0).abs() < f32::EPSILON
}
}
@ -104,7 +104,7 @@ fn skip_serializing_if_for_struct_attributes() {
}
fn check_f32_function(&self, value: &f32) -> bool {
(value - 0.0).abs() < std::f32::EPSILON
(value - 0.0).abs() < f32::EPSILON
}
}