From 9a2c1681cf36e2f268e5424b7b19ba42d3b4b363 Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Fri, 16 Dec 2022 16:50:55 +0100 Subject: [PATCH] Require `SurfaceBuilder` to be `Sized` This provides more flexibility in regards to use of `Self`. --- crates/fj-kernel/src/builder/surface.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/fj-kernel/src/builder/surface.rs b/crates/fj-kernel/src/builder/surface.rs index fa94685e7..dc0b8db40 100644 --- a/crates/fj-kernel/src/builder/surface.rs +++ b/crates/fj-kernel/src/builder/surface.rs @@ -6,7 +6,7 @@ use crate::{ }; /// Builder API for [`PartialSurface`] -pub trait SurfaceBuilder { +pub trait SurfaceBuilder: Sized { /// Build a surface from its two axes fn from_axes(u: GlobalPath, v: impl Into>) -> Self;