diff --git a/crates/fj-core/src/operations/sweep/path.rs b/crates/fj-core/src/operations/sweep/path.rs index 6f666e6b8..c3d89fe7e 100644 --- a/crates/fj-core/src/operations/sweep/path.rs +++ b/crates/fj-core/src/operations/sweep/path.rs @@ -39,7 +39,8 @@ impl SweepSurfacePath for SurfacePath { path: impl Into>, core: &mut Core, ) -> Handle { - match surface.u { + let SurfaceGeom { u, .. } = surface; + match u { GlobalPath::Circle(_) => { // Sweeping a `Curve` creates a `Surface`. The u-axis of that // `Surface` is a `GlobalPath`, which we are computing below.