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 67fc65e

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

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed
 

‎uefi-macros/src/lib.rs

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,11 @@ macro_rules! err {
2525

2626
/// Attribute macro for marking structs as UEFI protocols.
2727
///
28-
/// The macro takes one argument, either a GUID string or the path to a `Guid`
29-
/// constant.
30-
///
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.
28+
/// The macro can only be applied to a struct, and takes one argument, either a
29+
/// GUID string or the path to a `Guid` constant. It implements the [`Protocol`]
30+
/// trait and the `unsafe` [`Identify`] trait for the struct. This allows
31+
/// opening the protocol, but does nnot automatically install a protocol. See
32+
/// the [`Protocol`] trait for details.
3433
///
3534
/// # Safety
3635
///

0 commit comments

Comments
 (0)
Please sign in to comment.