From 3cb6732f4fb3ce3bb4ff52b022f1510cbb7a3d89 Mon Sep 17 00:00:00 2001 From: Michael Kirk Date: Tue, 22 Oct 2024 16:49:57 -0700 Subject: [PATCH] fixup! Move all geometries impls into `impl Distance for Euclidean` --- .../line_measures/metric_spaces/euclidean/distance.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/geo/src/algorithm/line_measures/metric_spaces/euclidean/distance.rs b/geo/src/algorithm/line_measures/metric_spaces/euclidean/distance.rs index a013f48b5..db5b7b8cb 100644 --- a/geo/src/algorithm/line_measures/metric_spaces/euclidean/distance.rs +++ b/geo/src/algorithm/line_measures/metric_spaces/euclidean/distance.rs @@ -67,9 +67,9 @@ impl Distance, Point> for Euclidean { /// ); /// ``` /// - /// [`Haversine`]: super::Haversine - /// [`Geodesic`]: super::Geodesic - /// [metric spaces]: super + /// [`Haversine`]: crate::line_measures::metric_spaces::Haversine + /// [`Geodesic`]: crate::line_measures::metric_spaces::Geodesic + /// [metric spaces]: crate::line_measures::metric_spaces fn distance(origin: Point, destination: Point) -> F { Self::distance(origin.0, destination.0) }