src/loc.rs

branch
dev
changeset 131
8264d72aa347
parent 129
d2994e34a5f5
--- a/src/loc.rs	Mon May 12 16:28:50 2025 -0500
+++ b/src/loc.rs	Mon May 12 17:10:39 2025 -0500
@@ -432,9 +432,7 @@
 domination!(Linfinity, L2);
 domination!(L2, L1);
 
-impl<F: Float, const N: usize> Euclidean<F> for Loc<N, F> {
-    type Output = Self;
-
+impl<F: Float, const N: usize> Euclidean for Loc<N, F> {
     /// This implementation is not stabilised as it's meant to be used for very small vectors.
     /// Use [`nalgebra`] for larger vectors.
     #[inline]
@@ -565,7 +563,7 @@
     }
 }
 
-impl<F: Float, const N: usize> StaticEuclidean<F> for Loc<N, F> {
+impl<F: Float, const N: usize> StaticEuclidean for Loc<N, F> {
     #[inline]
     fn origin() -> Self {
         Self::ORIGIN

mercurial