From 0dfe80b10b1a9ddab6610c5b46c49a47b53aa69d Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Thu, 5 Oct 2023 13:08:22 +0200 Subject: [PATCH] Update variable name --- crates/fj-core/src/algorithms/approx/edge.rs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/crates/fj-core/src/algorithms/approx/edge.rs b/crates/fj-core/src/algorithms/approx/edge.rs index 51be77c8e..c9e657b5b 100644 --- a/crates/fj-core/src/algorithms/approx/edge.rs +++ b/crates/fj-core/src/algorithms/approx/edge.rs @@ -56,14 +56,11 @@ impl Approx for (&Edge, &Surface) { .get_curve_approx(edge.curve().clone(), edge.boundary()); match cached.segments.pop() { - Some((boundary, segment)) if cached.segments.is_empty() => { + Some((boundary, points)) if cached.segments.is_empty() => { // If the cached approximation has a single segment, // that means everything we need is available, and we // can use the cached approximation as-is. - CurveApproxSegment { - boundary, - points: segment, - } + CurveApproxSegment { boundary, points } } _ => { // If we make it here, there are holes in the