Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelkirk committed Mar 9, 2021
1 parent 1f91ffe commit f51b661
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions geo/src/algorithm/line_intersection.rs
Expand Up @@ -207,7 +207,7 @@ fn collinear_intersection<F: GeoFloat>(p: Line<F>, q: Line<F>) -> Option<LineInt
});
}
}
return None;
None
}

/// Finds the endpoint of the segments P and Q which is closest to the other segment. This is
Expand Down Expand Up @@ -353,7 +353,7 @@ fn proper_intersection<F: GeoFloat>(p: Line<F>, q: Line<F>) -> Coordinate<F> {
// copy the coordinate, since it may be rounded later
int_pt = nearest_endpoint(p, q);
}
return int_pt;
int_pt
}

#[cfg(test)]
Expand Down

0 comments on commit f51b661

Please sign in to comment.