From 00fb591128f48c479336831eb59456fa6bdf895c Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Thu, 21 Dec 2023 20:12:18 +0100 Subject: [PATCH] Update argument name --- crates/fj-core/src/operations/update/cycle.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/fj-core/src/operations/update/cycle.rs b/crates/fj-core/src/operations/update/cycle.rs index f0dd04ce5..6fda0e6fa 100644 --- a/crates/fj-core/src/operations/update/cycle.rs +++ b/crates/fj-core/src/operations/update/cycle.rs @@ -9,7 +9,7 @@ pub trait UpdateCycle { #[must_use] fn add_half_edges( &self, - edges: impl IntoIterator>, + half_edges: impl IntoIterator>, ) -> Self; /// Update an edge of the cycle @@ -47,9 +47,9 @@ pub trait UpdateCycle { impl UpdateCycle for Cycle { fn add_half_edges( &self, - edges: impl IntoIterator>, + half_edges: impl IntoIterator>, ) -> Self { - let edges = self.half_edges().iter().cloned().chain(edges); + let edges = self.half_edges().iter().cloned().chain(half_edges); Cycle::new(edges) }