From 2b266959224a1550eafabb7294532f064aefa0d0 Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Tue, 1 Nov 2022 12:45:34 +0100 Subject: [PATCH] Make method argument more general --- crates/fj-kernel/src/partial/objects/edge.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/fj-kernel/src/partial/objects/edge.rs b/crates/fj-kernel/src/partial/objects/edge.rs index e1df84733..5faf78ef3 100644 --- a/crates/fj-kernel/src/partial/objects/edge.rs +++ b/crates/fj-kernel/src/partial/objects/edge.rs @@ -337,7 +337,7 @@ impl PartialGlobalEdge { /// Update the partial global edge with the given vertices pub fn with_vertices( mut self, - vertices: Option<[Handle; 2]>, + vertices: Option<[impl Into>; 2]>, ) -> Self { if let Some(vertices) = vertices { self.vertices = Some(vertices.map(Into::into));