Skip to content

Commit b7c788b

Browse files
authored
Fix squared_euclidean docs (#31)
1 parent bbb5e70 commit b7c788b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/distance.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
55
use num_traits::Float;
66

7-
/// Returns the squared euclidean distance between two points, when you only
8-
/// need to compare distances, rhather than having the exact distance between
9-
/// the points this metric is benefitial because it avoids the expensive square
7+
/// Returns the squared euclidean distance between two points. When you only
8+
/// need to compare distances, rather than having the exact distance between
9+
/// the points, this metric is benefitial because it avoids the expensive square
1010
/// root computation.
1111
///
1212
/// # Examples

0 commit comments

Comments
 (0)