File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ pub struct InformationRequestHeaderTagBuilder {
21
21
#[ cfg( feature = "builder" ) ]
22
22
impl InformationRequestHeaderTagBuilder {
23
23
/// New builder.
24
- pub fn new ( flag : HeaderTagFlag ) -> Self {
24
+ pub const fn new ( flag : HeaderTagFlag ) -> Self {
25
25
Self {
26
26
irs : BTreeSet :: new ( ) ,
27
27
flag,
Original file line number Diff line number Diff line change @@ -47,8 +47,7 @@ impl<'a> Multiboot2Header<'a> {
47
47
assert_eq ! (
48
48
reference. header_magic( ) ,
49
49
MULTIBOOT2_HEADER_MAGIC ,
50
- "The Multiboot2 header must contain the MULTIBOOT2_HEADER_MAGIC={:x}" ,
51
- MULTIBOOT2_HEADER_MAGIC
50
+ "The Multiboot2 header must contain the MULTIBOOT2_HEADER_MAGIC={MULTIBOOT2_HEADER_MAGIC:x}"
52
51
) ;
53
52
assert ! (
54
53
reference. verify_checksum( ) ,
You can’t perform that action at this time.
0 commit comments