Browse Source

multiboot2: clippy CI fix

Philipp Schuster 3 years ago
parent
commit
f8ead514af
1 changed files with 1 additions and 1 deletions
  1. 1 1
      multiboot2/src/lib.rs

+ 1 - 1
multiboot2/src/lib.rs

@@ -224,7 +224,7 @@ impl BootInformation {
     /// Search for the VBE framebuffer tag.
     pub fn framebuffer_tag(&self) -> Option<FramebufferTag> {
         self.get_tag(TagType::Framebuffer)
-            .map(|tag| framebuffer::framebuffer_tag(tag))
+            .map(framebuffer::framebuffer_tag)
     }
 
     /// Search for the EFI 32-bit SDT tag.