Skip to content

Commit

Permalink
HidPkg/UefiHidDxe/src/keyboard.rs: Fix comment typo
Browse files Browse the repository at this point in the history
  • Loading branch information
makubacki authored Nov 7, 2023
1 parent ded1228 commit 8e5584a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion HidPkg/UefiHidDxe/src/keyboard.rs
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,8 @@ impl KeyboardHandler {
hid_context: *mut HidContext,
) -> Result<*mut KeyboardContext, efi::Status> {
// retrieve a reference to boot services.
// Safety: BOOT_SERVICES must ahve been initialized to point to the UEFI Boot Services table.
// Safety: BOOT_SERVICES must have been initialized to point to the UEFI Boot Services table.

// Caller should have ensured this, so just expect on failure.
let boot_services = unsafe { BOOT_SERVICES.as_mut().expect("BOOT_SERVICES not properly initialized") };

Expand Down

0 comments on commit 8e5584a

Please sign in to comment.