Skip to content

Commit 030b51d

Browse files
committed
multiboot2: framebuffer: fix wrong display fmt
1 parent ae6d501 commit 030b51d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

multiboot2/src/framebuffer.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ pub struct FramebufferColor {
9393

9494
/// Error when an unknown [`FramebufferTypeId`] is found.
9595
#[derive(Debug, Copy, Clone, Display, PartialEq, Eq)]
96-
#[display(fmt = "Unknown framebuffer type _0")]
96+
#[display(fmt = "Unknown framebuffer type {}", _0)]
9797
pub struct UnknownFramebufferType(u8);
9898

9999
#[cfg(feature = "unstable")]

0 commit comments

Comments
 (0)