diff --git a/crates/fj-math/src/vector.rs b/crates/fj-math/src/vector.rs index f05e17e03..7e48b6a7e 100644 --- a/crates/fj-math/src/vector.rs +++ b/crates/fj-math/src/vector.rs @@ -14,7 +14,7 @@ use super::{ /// The dimensionality of the vector is defined by the const generic `D` /// parameter. #[derive(Clone, Copy, Eq, PartialEq, Hash, Ord, PartialOrd)] -#[repr(C)] +#[repr(transparent)] pub struct Vector { /// # The components of the vector pub components: [Scalar; D],