We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab85092 commit ca8737aCopy full SHA for ca8737a
uefi/src/proto/console/text/input.rs
@@ -48,7 +48,7 @@ impl Input {
48
/// fn read_keyboard_events(input: &mut Input) -> Result {
49
/// loop {
50
/// // Pause until a keyboard event occurs.
51
- /// let mut events = unsafe { [input.wait_for_key_event().unwrap()] };
+ /// let mut events = [input.wait_for_key_event().unwrap()];
52
/// boot::wait_for_event(&mut events).discard_errdata()?;
53
///
54
/// let u_key = Char16::try_from('u').unwrap();
0 commit comments