Explorar el Código

multiboot2: clippy CI fix

Philipp Schuster hace 3 años
padre
commit
f8ead514af
Se han modificado 1 ficheros con 1 adiciones y 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.