Skip to content

Commit

Permalink
Refactor to improve clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
hannobraun committed Nov 24, 2023
1 parent a82df72 commit 787cd7f
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions crates/fj-core/src/operations/sweep/face.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,11 @@ impl SweepFace for Face {
services,
);

faces.extend(
swept_region
.faces
.into_iter()
.map(|side_face| side_face.insert(services)),
);
let side_faces = swept_region
.faces
.into_iter()
.map(|side_face| side_face.insert(services));
faces.extend(side_faces);

let top_face = {
let top_surface =
Expand Down

0 comments on commit 787cd7f

Please sign in to comment.