chore: update comment

This commit is contained in:
Rekai Nyangadzayi Musuka 2021-11-15 22:05:26 -04:00
parent 6f5e863645
commit 939c25ce1a
1 changed files with 3 additions and 3 deletions

View File

@ -35,9 +35,9 @@ impl GuiState {
}
}
/// This is meant to serve as a Default value. Therefore this KeyboardInput should **always** represent an **unused** key
/// performing an **unused** action
///
/// To avoid using an [Option<KeyboardInput>] to keep track of user input from winit,
/// we can use a "default" value. However, in order for this to work the chosen "default"
/// value must be an **unused** key, so that it is ignored by the emulator.
pub fn unused_key() -> KeyboardInput {
#![allow(deprecated)]