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.
1 parent b432aa6 commit f4fd7b3Copy full SHA for f4fd7b3
uefi-macros/src/lib.rs
@@ -26,11 +26,11 @@ macro_rules! err {
26
/// Attribute macro for marking structs as UEFI protocols.
27
///
28
/// The macro takes one argument, either a GUID string or the path to a `Guid`
29
-/// constant.
+/// constant. The macro can only be applied to a struct. It implements the
30
+/// [`Protocol`] trait and the `unsafe` [`Identify`] trait for the struct.
31
-/// The macro can only be applied to a struct. It implements the
32
-/// [`Protocol`] trait and the `unsafe` [`Identify`] trait for the
33
-/// struct.
+/// Note that this does not automatically install a protocol. See the
+/// [`Protocol`] trait for details.
34
35
/// # Safety
36
0 commit comments