From 6209b44de4c7b11a0d9b6521b051e5517ef19cf5 Mon Sep 17 00:00:00 2001 From: Nicholas Bishop Date: Thu, 25 Jul 2024 22:50:00 -0400 Subject: [PATCH] Fix CI for Rust 1.80 --- uefi-raw/src/capsule.rs | 2 +- uefi/src/table/boot.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/uefi-raw/src/capsule.rs b/uefi-raw/src/capsule.rs index 7726a1598..38183058c 100644 --- a/uefi-raw/src/capsule.rs +++ b/uefi-raw/src/capsule.rs @@ -18,7 +18,7 @@ pub struct CapsuleBlockDescriptor { /// Either a data block pointer or a continuation pointer. /// /// * If `length` is non-zero, this is the physical address of the data - /// block. + /// block. /// * If `length` is zero: /// * If `addr` is non-zero, this is the physical address of another block /// of `CapsuleBlockDescriptor`. diff --git a/uefi/src/table/boot.rs b/uefi/src/table/boot.rs index 79c2c50ec..c6ee9518e 100644 --- a/uefi/src/table/boot.rs +++ b/uefi/src/table/boot.rs @@ -1893,6 +1893,7 @@ pub trait MemoryMapMut: MemoryMap { } /// Implementation of [`MemoryMap`] for the given buffer. +#[allow(dead_code)] // TODO: github.com/rust-osdev/uefi-rs/issues/1247 #[derive(Debug)] pub struct MemoryMapRef<'a> { buf: &'a [u8],