Skip to content

Commit dcbbc65

Browse files
authored
Merge pull request rust-osdev#527 from rust-osdev/bishop-fix-warning
Fix warning from unneeded `macro_use`
2 parents 5939e57 + e7479f1 commit dcbbc65

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

uefi-services/src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
#![feature(alloc_error_handler)]
2121
#![feature(abi_efiapi)]
2222

23-
#[macro_use]
2423
extern crate log;
2524
// Core types.
2625
extern crate uefi;
@@ -212,7 +211,7 @@ fn panic_handler(info: &core::panic::PanicInfo) -> ! {
212211
}
213212

214213
// If we don't have any shutdown mechanism handy, the best we can do is loop
215-
error!("Could not shut down, please power off the system manually...");
214+
log::error!("Could not shut down, please power off the system manually...");
216215

217216
cfg_if! {
218217
if #[cfg(target_arch = "x86_64")] {

0 commit comments

Comments
 (0)