Refactor to prepare for follow-on change

This commit is contained in:
Hanno Braun 2024-04-29 13:29:27 +02:00
parent 2ac09330ce
commit b0e6b676f5

View File

@ -31,9 +31,8 @@ impl CurveGeom {
path: SurfacePath,
surface: Handle<Surface>,
) -> Self {
Self {
definitions: vec![LocalCurveGeom { path, surface }],
}
let definitions = vec![LocalCurveGeom { path, surface }];
Self { definitions }
}
}