From c93745443994cd3203656960d532f9cc2aa0fd20 Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Thu, 4 May 2023 12:54:10 +0200 Subject: [PATCH] Update trait method name --- crates/fj-kernel/src/operations/update/shell.rs | 4 ++-- crates/fj-kernel/src/validate/shell.rs | 2 +- 2 files 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 00dcf6370..ee5d16cba 100644 --- a/crates/fj-kernel/src/operations/update/shell.rs +++ b/crates/fj-kernel/src/operations/update/shell.rs @@ -6,7 +6,7 @@ use crate::{ /// Update a [`Shell`] pub trait UpdateShell { /// Update a face of the shell - fn update_face( + fn replace_face( &self, handle: &Handle, replacement: Handle, @@ -17,7 +17,7 @@ pub trait UpdateShell { } impl UpdateShell for Shell { - fn update_face( + fn replace_face( &self, handle: &Handle, replacement: Handle, diff --git a/crates/fj-kernel/src/validate/shell.rs b/crates/fj-kernel/src/validate/shell.rs index 3c1e98127..f1a81b4e8 100644 --- a/crates/fj-kernel/src/validate/shell.rs +++ b/crates/fj-kernel/src/validate/shell.rs @@ -210,7 +210,7 @@ mod tests { [[0., 0., 0.], [0., 1., 0.], [1., 0., 0.], [0., 0., 1.]], &mut services, ); - let invalid = valid.shell.update_face( + let invalid = valid.shell.replace_face( &valid.abc.face, valid .abc