Skip to content

Commit dfc741f

Browse files
committed
multiboot2-header: doc
1 parent 20bf713 commit dfc741f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

multiboot2-header/src/builder/traits.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1+
//! Module for the helper trait [`StructAsBytes`].
2+
13
use crate::{
24
AddressHeaderTag, ConsoleHeaderTag, EfiBootServiceHeaderTag, EndHeaderTag, EntryEfi32HeaderTag,
35
EntryEfi64HeaderTag, EntryHeaderTag, FramebufferHeaderTag, InformationRequestHeaderTag,
46
ModuleAlignHeaderTag, Multiboot2BasicHeader, RelocatableHeaderTag,
57
};
68
use core::mem::size_of;
79

8-
/// Trait for all tags that creates a byte array from the tag.
10+
/// Trait for all tags that helps to create a byte array from the tag.
911
/// Useful in builders to construct a byte vector that
1012
/// represents the Multiboot2 header with all its tags.
1113
pub(crate) trait StructAsBytes: Sized {

0 commit comments

Comments
 (0)