Browse Source

multiboot2: framebuffer: fix wrong display fmt

Philipp Schuster 2 years ago
parent
commit
030b51d8ba
1 changed files with 1 additions and 1 deletions
  1. 1 1
      multiboot2/src/framebuffer.rs

+ 1 - 1
multiboot2/src/framebuffer.rs

@@ -93,7 +93,7 @@ pub struct FramebufferColor {
 
 /// Error when an unknown [`FramebufferTypeId`] is found.
 #[derive(Debug, Copy, Clone, Display, PartialEq, Eq)]
-#[display(fmt = "Unknown framebuffer type _0")]
+#[display(fmt = "Unknown framebuffer type {}", _0)]
 pub struct UnknownFramebufferType(u8);
 
 #[cfg(feature = "unstable")]