Skip to content

Commit

Permalink
revert to uncomparable
Browse files Browse the repository at this point in the history
  • Loading branch information
nyurik authored Feb 21, 2022
1 parent a1b8d4c commit 9d2440c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geo/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ use std::cmp::Ordering;

/// Compare two coordinates lexicographically: first by the
/// x coordinate, and break ties with the y coordinate.
/// Expects none of coordinates to be incomparable (eg. nan)
/// Expects none of coordinates to be uncomparable (eg. nan)
#[inline]
pub fn lex_cmp<T: CoordNum>(p: &Coordinate<T>, q: &Coordinate<T>) -> Ordering {
p.x.partial_cmp(&q.x)
Expand Down

0 comments on commit 9d2440c

Please sign in to comment.