From cf49703fd431430f9abb5e2b205b68ce8ed32db0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20H=C3=BCgel?= Date: Wed, 27 Sep 2023 16:20:52 +0100 Subject: [PATCH] Update rstar/src/object.rs Co-authored-by: Michael Kirk --- rstar/src/object.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rstar/src/object.rs b/rstar/src/object.rs index b37fc1f..8874172 100644 --- a/rstar/src/object.rs +++ b/rstar/src/object.rs @@ -145,7 +145,7 @@ pub trait RTreeObject { /// assert!(circle.contains_point(&[1.0, 0.0])); /// ``` pub trait PointDistance: RTreeObject { - /// Returns the squared distance between an object to a point. + /// Returns the squared distance between an object and a point. /// /// # Notes /// While euclidean distance will be the correct choice for most use cases, any distance metric