Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
hannobraun committed Dec 16, 2022
1 parent d8f13cd commit abbf309
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/fj-kernel/src/builder/cycle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,11 @@ impl CycleBuilder for PartialCycle {
points: impl IntoIterator<Item = impl Into<Point<2>>>,
) -> Vec<Partial<HalfEdge>> {
let surface = surface.into();
let points = points.into_iter().map(Into::into);

let mut half_edges = Vec::new();

for point in points.into_iter().map(Into::into) {
for point in points {
let mut half_edge = self.add_half_edge();

{
Expand Down

0 comments on commit abbf309

Please sign in to comment.