Skip to content

Commit

Permalink
Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
rparrett committed Sep 7, 2022
1 parent 4b3d8aa commit e47a879
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lines.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ pub fn possible_lines(
return vec![vec![(from, a), (a, to)], vec![(from, b), (b, to)]];
}

return vec![vec![(from, b), (b, to)], vec![(from, a), (a, to)]];
vec![vec![(from, b), (b, to)], vec![(from, a), (a, to)]]
}

pub fn distance_on_path(start: Vec2, point: Vec2, segments: &[(Vec2, Vec2)]) -> Option<f32> {
Expand Down

0 comments on commit e47a879

Please sign in to comment.