Skip to content

Commit 8eefdd9

Browse files
Merge branch 'rust-osdev:master' into impl_event_fns
2 parents 14a1190 + 97158a4 commit 8eefdd9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/data_types/guid.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ impl fmt::Display for Guid {
8686
/// for more specific traits such as `Protocol` or `FileProtocolInfo`, which
8787
/// indicate in which circumstances an `Identify`-tagged type should be used.
8888
///
89+
/// # Safety
90+
///
8991
/// Implementing `Identify` is unsafe because attaching an incorrect GUID to a
9092
/// type can lead to type unsafety on both the Rust and UEFI side.
9193
///

0 commit comments

Comments
 (0)