refactor: remove std:: prefix as clippy suggested
This commit is contained in:
parent
3e416bedcc
commit
e4aff84acb
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user