Skip to content

Commit 76ebbde

Browse files
Fix clippy::unnecessary_semicolon lints (#415)
1 parent 4dfe1f3 commit 76ebbde

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/bezpath.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1153,7 +1153,7 @@ impl PathSeg {
11531153
a.push(c.p2.to_vec2());
11541154
a.push(c.p3.to_vec2());
11551155
}
1156-
};
1156+
}
11571157
a
11581158
}
11591159

src/svg.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ impl BezPath {
5050
let start = segment.start();
5151
if Some(start) != current_pos {
5252
path_elements.push(PathEl::MoveTo(start));
53-
};
53+
}
5454
path_elements.push(match segment {
5555
PathSeg::Line(l) => PathEl::LineTo(l.p1),
5656
PathSeg::Quad(q) => PathEl::QuadTo(q.p1, q.p2),

0 commit comments

Comments
 (0)