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 Feb 9, 2024
1 parent f6de529 commit 595f63f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crates/fj-core/src/operations/sweep/face.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ impl SweepFace for Handle<Face> {

let path = path.into();

let mut faces = Vec::new();

let bottom_face = self;

let other_faces = bottom_face
Expand All @@ -56,6 +54,7 @@ impl SweepFace for Handle<Face> {
.all_faces()
.map(|side_face| side_face.insert(&mut core.services));

let mut faces = Vec::new();
faces.push(bottom_face.clone());
faces.extend(other_faces);

Expand Down

0 comments on commit 595f63f

Please sign in to comment.