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 35c2eb7 commit a82df72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/fj-core/src/operations/sweep/face.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ impl SweepFace for Face {
.into_iter()
.map(|side_face| side_face.insert(services)),
);
let top_region = swept_region.top_region.insert(services);

let top_face = {
let top_surface =
bottom_face.surface().clone().translate(path, services);
let top_region = swept_region.top_region.insert(services);

Face::new(top_surface, top_region).insert(services)
};
Expand Down

0 comments on commit a82df72

Please sign in to comment.