From 562fbfae8aa17a2f3758710b23ec25e828d16cd6 Mon Sep 17 00:00:00 2001 From: Rubens Brandao Date: Wed, 17 Apr 2024 12:49:43 -0300 Subject: remove unnecessary transmutions --- rust/src/rc.rs | 1 - 1 file changed, 1 deletion(-) (limited to 'rust/src/rc.rs') diff --git a/rust/src/rc.rs b/rust/src/rc.rs index 91e51565..cdcae179 100644 --- a/rust/src/rc.rs +++ b/rust/src/rc.rs @@ -43,7 +43,6 @@ pub unsafe trait RefCountable: ToOwned> + Sized { // Represents an 'owned' reference tracked by the core // that we are responsible for cleaning up once we're // done with the encapsulated value. -#[repr(transparent)] pub struct Ref { contents: T, } -- cgit v1.3.1