diff --git a/crates/fj-core/src/validate/cycle.rs b/crates/fj-core/src/validate/cycle.rs index 9824b9cf4..a0d972af4 100644 --- a/crates/fj-core/src/validate/cycle.rs +++ b/crates/fj-core/src/validate/cycle.rs @@ -39,7 +39,7 @@ pub enum CycleValidationError { distance: Scalar, /// The edges - half_edges: Box<[Handle; 2]>, + half_edges: [Handle; 2], }, } @@ -64,7 +64,7 @@ impl CycleValidationError { end_of_first, start_of_second, distance, - half_edges: Box::new([first.clone(), second.clone()]), + half_edges: [first.clone(), second.clone()], } .into(), );