Skip to content

Commit

Permalink
fixup! Move all geometries impls into impl Distance for Euclidean
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelkirk committed Oct 22, 2024
1 parent 06c484d commit 3cb6732
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ impl<F: CoordFloat> Distance<F, Point<F>, Point<F>> 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<F>, destination: Point<F>) -> F {
Self::distance(origin.0, destination.0)
}
Expand Down

0 comments on commit 3cb6732

Please sign in to comment.