From c02454ef16f098f0cf3b76ad2330955f60d8d8e5 Mon Sep 17 00:00:00 2001 From: Corwin Date: Sun, 9 Oct 2022 00:42:21 +0100 Subject: [PATCH] remove repr guarentee --- agb-fixnum/src/lib.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/agb-fixnum/src/lib.rs b/agb-fixnum/src/lib.rs index cc5669a6..297d1615 100644 --- a/agb-fixnum/src/lib.rs +++ b/agb-fixnum/src/lib.rs @@ -133,7 +133,6 @@ fixed_width_signed_integer_impl!(i16); fixed_width_signed_integer_impl!(i32); /// A fixed point number represented using `I` with `N` bits of fractional precision -#[repr(C)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] pub struct Num(I); @@ -571,7 +570,6 @@ impl Debug for Num { /// A vector of two points: (x, y) represened by integers or fixed point numbers #[derive(Clone, Copy, PartialEq, Eq, Debug, Default)] -#[repr(C)] pub struct Vector2D { /// The x coordinate pub x: T,