Skip to content

Commit 6e61e83

Browse files
committed
Adds missed #[repr(transparent)] for RawRef
1 parent 5adbb31 commit 6e61e83

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1405,6 +1405,7 @@ pub struct LayoutRef<A, D>
14051405
#[repr(transparent)]
14061406
pub struct ArrayRef<A, D>(LayoutRef<A, D>);
14071407

1408+
#[repr(transparent)]
14081409
pub struct RawRef<A, D>(LayoutRef<A, D>);
14091410

14101411
/// An array where the data has shared ownership and is copy on write.

0 commit comments

Comments
 (0)