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()