fix stray keypress

This commit is contained in:
drbh 2023-04-11 01:11:14 -04:00
parent 61e6706448
commit b5013d1540
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ struct Point(f32, f32);
impl instant_distance::Point for Point { impl instant_distance::Point for Point {
fn distance(&self, other: &Self) -> f32 { fn distance(&self, other: &Self) -> f32 {
// Euclidean distance metricØ // Euclidean distance metric
((self.0 - other.0).powi(2) + (self.1 - other.1).powi(2)).sqrt() ((self.0 - other.0).powi(2) + (self.1 - other.1).powi(2)).sqrt()
} }
} }