Skip to content

Commit cedcce9

Browse files
committed
uefi: workaround dead code warning on nightly
This is a more fine-grained approach than taken in 716f9bc.
1 parent afc2af8 commit cedcce9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

uefi/src/proto/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
//!
1010
//! [`BootServices`]: crate::table::boot::BootServices#accessing-protocols
1111
12+
#![warn(dead_code)] // https://github.com/rust-osdev/uefi-rs/issues/1205
13+
1214
use crate::Identify;
1315
use core::ffi::c_void;
1416

0 commit comments

Comments
 (0)