Skip to content

Commit 03399a6

Browse files
authored
Update comment
1 parent b510a77 commit 03399a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

geo/src/algorithm/euclidean_distance.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ where
352352
if self.intersects(other) || self.contains(other) {
353353
return T::zero();
354354
}
355-
// minimum of two Point-Line distances
355+
// minimum of all Point-Line distances
356356
self.start_point()
357357
.euclidean_distance(other)
358358
.min(self.end_point().euclidean_distance(other))

0 commit comments

Comments
 (0)