Skip to content

Commit

Permalink
Require SurfaceBuilder to be Sized
Browse files Browse the repository at this point in the history
This provides more flexibility in regards to use of `Self`.
  • Loading branch information
hannobraun committed Dec 16, 2022
1 parent 223802e commit 9a2c168
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/fj-kernel/src/builder/surface.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Vector<3>>) -> Self;

Expand Down

0 comments on commit 9a2c168

Please sign in to comment.