Skip to content

Commit

Permalink
Make method argument more general
Browse files Browse the repository at this point in the history
  • Loading branch information
hannobraun committed Nov 1, 2022
1 parent 4780bea commit 2b26695
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/fj-kernel/src/partial/objects/edge.rs
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ impl PartialGlobalEdge {
/// Update the partial global edge with the given vertices
pub fn with_vertices(
mut self,
vertices: Option<[Handle<GlobalVertex>; 2]>,
vertices: Option<[impl Into<MaybePartial<GlobalVertex>>; 2]>,
) -> Self {
if let Some(vertices) = vertices {
self.vertices = Some(vertices.map(Into::into));
Expand Down

0 comments on commit 2b26695

Please sign in to comment.