Prechádzať zdrojové kódy

multiboot2: clippy CI fix

Philipp Schuster 3 rokov pred
rodič
commit
f8ead514af
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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.