Correct stdout, updating lib and some clippy clean
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2023-07-30 18:13:42 +02:00
parent fd4affdb17
commit 1affcb9d1a
10 changed files with 117 additions and 138 deletions
+2 -2
View File
@@ -12,11 +12,11 @@ impl Coordinates {
}
pub fn is_correct_latitude(&self) -> bool {
return self.latitude > -90.0 && self.latitude < 90.0;
self.latitude > -90.0 && self.latitude < 90.0
}
pub fn is_correct_longitude(&self) -> bool {
return self.longitude > -180.0 && self.longitude < 180.0;
self.longitude > -180.0 && self.longitude < 180.0
}
}