summaryrefslogtreecommitdiff
path: root/rust/src/rc.rs
diff options
context:
space:
mode:
authorRubens Brandao <git@rubens.io>2024-04-17 12:49:43 -0300
committerRubens Brandao <git@rubens.io>2024-04-17 12:49:43 -0300
commit562fbfae8aa17a2f3758710b23ec25e828d16cd6 (patch)
tree0e2b93a4355a8f1815024c73914c1e197bf1d7c3 /rust/src/rc.rs
parent58673b20ef858ae5d4d7b1ff0dec1460a0f36e5f (diff)
remove unnecessary transmutions
Diffstat (limited to 'rust/src/rc.rs')
-rw-r--r--rust/src/rc.rs1
1 files changed, 0 insertions, 1 deletions
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<Owned = Ref<Self>> + 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<T: RefCountable> {
contents: T,
}