From b5013d15405f5e81412240e6878db2aadfcaabb6 Mon Sep 17 00:00:00 2001 From: drbh Date: Tue, 11 Apr 2023 01:11:14 -0400 Subject: [PATCH] fix stray keypress --- instant-distance/tests/all.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instant-distance/tests/all.rs b/instant-distance/tests/all.rs index 295e9e1..c895c5a 100644 --- a/instant-distance/tests/all.rs +++ b/instant-distance/tests/all.rs @@ -92,7 +92,7 @@ struct Point(f32, f32); impl instant_distance::Point for Point { 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() } }