Skip to content

Commit e47a879

Browse files
committed
Clippy
1 parent 4b3d8aa commit e47a879

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lines.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ pub fn possible_lines(
7171
return vec![vec![(from, a), (a, to)], vec![(from, b), (b, to)]];
7272
}
7373

74-
return vec![vec![(from, b), (b, to)], vec![(from, a), (a, to)]];
74+
vec![vec![(from, b), (b, to)], vec![(from, a), (a, to)]]
7575
}
7676

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

0 commit comments

Comments
 (0)