Explorar o código

multiboot2: clippy CI fix

Philipp Schuster %!s(int64=3) %!d(string=hai) anos
pai
achega
f8ead514af
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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.