Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
mockersf committed Aug 17, 2023
1 parent 59de88d commit 2e34151
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/input/triangulation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,7 @@ impl Triangulation {
.inner
.interiors()
.iter()
.filter(|obstacle| Triangulation::add_constraint_edges(&mut cdt, obstacle).is_none())
.next()
.find(|obstacle| Triangulation::add_constraint_edges(&mut cdt, obstacle).is_none())
.is_some()
{
return None;
Expand Down

0 comments on commit 2e34151

Please sign in to comment.