Skip to content

Commit 35e2e43

Browse files
committed
multiboot2-header: fix clippy
1 parent 840925f commit 35e2e43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

multiboot2-header/src/tags.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ pub enum HeaderTagISA {
1919
/// from the example C code at the bottom of the Multiboot2 specification. This value
2020
/// stands in the `typ` property of [`crate::tags::HeaderTag`].
2121
#[repr(u16)]
22-
#[derive(Copy, Clone, Debug, PartialEq)]
22+
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
2323
pub enum HeaderTagType {
2424
/// Type for [`crate::EndHeaderTag`].
2525
End = 0,
@@ -54,7 +54,7 @@ impl HeaderTagType {
5454

5555
/// Flags for Multiboot2 header tags.
5656
#[repr(u16)]
57-
#[derive(Copy, Clone, Debug, PartialEq)]
57+
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
5858
pub enum HeaderTagFlag {
5959
Required = 0,
6060
Optional = 1,

0 commit comments

Comments
 (0)