Skip to content

Commit 4f826f0

Browse files
committed
Remove uefi_utils alias
It seems RLS does not like it.
1 parent 3bf177b commit 4f826f0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
extern crate uefi;
99
extern crate uefi_services;
10-
extern crate uefi_utils as utils;
10+
extern crate uefi_utils;
1111

1212
#[macro_use]
1313
extern crate log;

tests/src/proto.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@ use uefi::Result;
22
use uefi::table::boot;
33

44
use uefi::proto;
5-
use utils;
5+
use uefi_utils;
66

77
pub fn protocol_test(_bt: &boot::BootServices) -> Result<()> {
88
type SearchedProtocol = proto::console::text::Output;
99

10-
let handles = utils::proto::find_handles::<SearchedProtocol>()
10+
let handles = uefi_utils::proto::find_handles::<SearchedProtocol>()
1111
.expect("Failed to retrieve the list of handles");
1212

1313
info!("Number of handles which implement the SimpleTextOutput protocol: {}", handles.len());
1414

15-
let mut debug_support_proto = utils::proto::find_protocol::<proto::debug::DebugSupport>()
15+
let mut debug_support_proto = uefi_utils::proto::find_protocol::<proto::debug::DebugSupport>()
1616
.expect("UEFI debug protocol is not implemented");
1717

1818
let debug_support = unsafe { debug_support_proto.as_mut() };

0 commit comments

Comments
 (0)