From 410d359e714133f249d45265b68f5d963c0e3229 Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Sun, 16 Nov 2025 11:18:49 +0100 Subject: [PATCH] Make `Vector` representation `transparent` --- crates/fj-math/src/vector.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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],