From d5efbd18025d80a5e936e0c93f35e6ba2da9c4af Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Wed, 12 Oct 2022 15:40:05 +0200 Subject: [PATCH] Refactor --- crates/fj-kernel/src/partial/objects/edge.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/fj-kernel/src/partial/objects/edge.rs b/crates/fj-kernel/src/partial/objects/edge.rs index 31b4385d7..0ce110e0d 100644 --- a/crates/fj-kernel/src/partial/objects/edge.rs +++ b/crates/fj-kernel/src/partial/objects/edge.rs @@ -107,11 +107,12 @@ impl PartialHalfEdge { .with_position(Some(point_curve)) .with_curve(Some(curve.clone())) .with_surface_form(Some(surface_form.clone())) + .into() }) }; self.curve = Some(curve.into()); - self.vertices = Some(vertices.map(Into::into)); + self.vertices = Some(vertices); self }