We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 44bdca2 + f0dc93a commit 4b08270Copy full SHA for 4b08270
uefi/src/proto/rng.rs
@@ -7,7 +7,7 @@ use core::{mem, ptr};
7
pub use uefi_raw::protocol::rng::RngAlgorithmType;
8
9
/// Rng protocol
10
-#[repr(C)]
+#[repr(transparent)]
11
#[unsafe_protocol(uefi_raw::protocol::rng::RngProtocol::GUID)]
12
pub struct Rng(uefi_raw::protocol::rng::RngProtocol);
13
0 commit comments