From de7d03efc467a6d4b36cd74ff2b27b13be44270f Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Tue, 8 Mar 2022 17:13:07 +0100 Subject: [PATCH] Rename variables to increase clarity --- src/kernel/shapes/difference_2d.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/kernel/shapes/difference_2d.rs b/src/kernel/shapes/difference_2d.rs index 6c8becc0b..7e52fcea0 100644 --- a/src/kernel/shapes/difference_2d.rs +++ b/src/kernel/shapes/difference_2d.rs @@ -50,11 +50,11 @@ impl ToShape for fj::Difference2d { { // Can't panic, as we just verified that both shapes have one face. - let [a, b] = [&mut a, &mut b] + let [face_a, face_b] = [&mut a, &mut b] .map(|shape| shape.faces().all().next().unwrap()); let (a, b, surface_a, surface_b) = - match ((*a).clone(), (*b).clone()) { + match ((*face_a).clone(), (*face_b).clone()) { ( Face::Face { cycles: a,