From 2e196adf82dec6f671d79589719cd4903a975ec7 Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Thu, 4 May 2023 12:54:35 +0200 Subject: [PATCH] Update argument name --- crates/fj-kernel/src/operations/update/shell.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/fj-kernel/src/operations/update/shell.rs b/crates/fj-kernel/src/operations/update/shell.rs index ee5d16cba..3133b2d83 100644 --- a/crates/fj-kernel/src/operations/update/shell.rs +++ b/crates/fj-kernel/src/operations/update/shell.rs @@ -8,7 +8,7 @@ pub trait UpdateShell { /// Update a face of the shell fn replace_face( &self, - handle: &Handle, + original: &Handle, replacement: Handle, ) -> Shell; @@ -19,11 +19,11 @@ pub trait UpdateShell { impl UpdateShell for Shell { fn replace_face( &self, - handle: &Handle, + original: &Handle, replacement: Handle, ) -> Shell { let faces = self.faces().into_iter().map(|face| { - if face.id() == handle.id() { + if face.id() == original.id() { replacement.clone() } else { face.clone()