Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f4fd7b3

Browse files
committedMar 16, 2025·
uefi-macros: Update docstring
1 parent b432aa6 commit f4fd7b3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎uefi-macros/src/lib.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ macro_rules! err {
2626
/// Attribute macro for marking structs as UEFI protocols.
2727
///
2828
/// The macro takes one argument, either a GUID string or the path to a `Guid`
29-
/// constant.
29+
/// constant. The macro can only be applied to a struct. It implements the
30+
/// [`Protocol`] trait and the `unsafe` [`Identify`] trait for the struct.
3031
///
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.
32+
/// Note that this does not automatically install a protocol. See the
33+
/// [`Protocol`] trait for details.
3434
///
3535
/// # Safety
3636
///

0 commit comments

Comments
 (0)
Please sign in to comment.