diff --git a/crates/fj-kernel/src/partial/objects/edge.rs b/crates/fj-kernel/src/partial/objects/edge.rs index eccdc378a..31b4385d7 100644 --- a/crates/fj-kernel/src/partial/objects/edge.rs +++ b/crates/fj-kernel/src/partial/objects/edge.rs @@ -65,8 +65,9 @@ impl PartialHalfEdge { mut self, vertices: Option<[impl Into>; 2]>, ) -> Self { + let vertices = vertices.map(|vertices| vertices.map(Into::into)); if let Some(vertices) = vertices { - self.vertices = Some(vertices.map(Into::into)); + self.vertices = Some(vertices); } self }