From 15ec99c64f65da7966b4282ff94fee0a611c23df Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Thu, 25 Feb 2021 11:24:42 -0500 Subject: knn: Move NearestNeighbor interfaces to a submodule --- src/distance.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/distance.rs') diff --git a/src/distance.rs b/src/distance.rs index e44ed03..680f11f 100644 --- a/src/distance.rs +++ b/src/distance.rs @@ -108,7 +108,7 @@ impl Distance for T { /// With those implementations available, you could use a [`NearestNeighbors`] /// instance to find the closest point(s) of interest to any GPS location. /// -/// [`NearestNeighbors`]: super::NearestNeighbors +/// [`NearestNeighbors`]: crate::knn::NearestNeighbors pub trait Proximity { /// The type that represents distances. type Distance: Distance; -- cgit v1.2.3