From 6c717920d07dda1a21fc2ed39d55c255c7e0a2e7 Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Wed, 22 Feb 2023 13:42:21 +0100 Subject: [PATCH] Simplify variable name --- crates/fj-kernel/src/algorithms/approx/edge.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/crates/fj-kernel/src/algorithms/approx/edge.rs b/crates/fj-kernel/src/algorithms/approx/edge.rs index 7ba30ba55..b43a881f0 100644 --- a/crates/fj-kernel/src/algorithms/approx/edge.rs +++ b/crates/fj-kernel/src/algorithms/approx/edge.rs @@ -36,8 +36,7 @@ impl Approx for (&Handle, &Surface) { .with_source((half_edge.clone(), half_edge.boundary()[0])); let points = { - let global_curve_approx = match cache - .get(half_edge.global_form().clone(), range) + let approx = match cache.get(half_edge.global_form().clone(), range) { Some(approx) => approx, None => { @@ -51,7 +50,7 @@ impl Approx for (&Handle, &Surface) { } }; - global_curve_approx + approx .points .into_iter() .map(|point| {