summaryrefslogtreecommitdiffstats
path: root/src/euclid.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/euclid.rs')
-rw-r--r--src/euclid.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/euclid.rs b/src/euclid.rs
index c1d88ae..3833146 100644
--- a/src/euclid.rs
+++ b/src/euclid.rs
@@ -1,6 +1,6 @@
//! [Euclidean space](https://en.wikipedia.org/wiki/Euclidean_space).
-use crate::coords::{Coordinates, CoordinateMetric, CoordinateProximity};
+use crate::coords::{CoordinateMetric, CoordinateProximity, Coordinates};
use crate::distance::{Distance, Metric, Proximity, Value};
use num_traits::zero;
@@ -243,7 +243,7 @@ macro_rules! float_distance {
impl Distance for EuclideanDistance<$f> {
type Value = $f;
}
- }
+ };
}
float_distance!(f32);
@@ -353,7 +353,7 @@ macro_rules! int_distance {
impl Distance for EuclideanDistance<$i> {
type Value = $f;
}
- }
+ };
}
int_distance!(i16, f32, f32);