summaryrefslogtreecommitdiffstats
path: root/src/distance.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/distance.rs')
-rw-r--r--src/distance.rs2
1 files changed, 1 insertions, 1 deletions
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<T: Value> Distance for T {
/// With those implementations available, you could use a [`NearestNeighbors<Gps, PointOfInterest>`]
/// instance to find the closest point(s) of interest to any GPS location.
///
-/// [`NearestNeighbors<Gps, PointOfInterest>`]: super::NearestNeighbors
+/// [`NearestNeighbors<Gps, PointOfInterest>`]: crate::knn::NearestNeighbors
pub trait Proximity<T: ?Sized = Self> {
/// The type that represents distances.
type Distance: Distance;