Skip to content

Commit

Permalink
Fix clippy::unnecessary_semicolon lints (#415)
Browse files Browse the repository at this point in the history
  • Loading branch information
waywardmonkeys authored Feb 7, 2025
1 parent 4dfe1f3 commit 76ebbde
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/bezpath.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1153,7 +1153,7 @@ impl PathSeg {
a.push(c.p2.to_vec2());
a.push(c.p3.to_vec2());
}
};
}
a
}

Expand Down
2 changes: 1 addition & 1 deletion src/svg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ impl BezPath {
let start = segment.start();
if Some(start) != current_pos {
path_elements.push(PathEl::MoveTo(start));
};
}
path_elements.push(match segment {
PathSeg::Line(l) => PathEl::LineTo(l.p1),
PathSeg::Quad(q) => PathEl::QuadTo(q.p1, q.p2),
Expand Down

0 comments on commit 76ebbde

Please sign in to comment.