diff options
Diffstat (limited to 'libs/hbb_common/src/keyboard.rs')
-rw-r--r-- | libs/hbb_common/src/keyboard.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hbb_common/src/keyboard.rs b/libs/hbb_common/src/keyboard.rs index 10979f5..224f567 100644 --- a/libs/hbb_common/src/keyboard.rs +++ b/libs/hbb_common/src/keyboard.rs @@ -28,7 +28,7 @@ impl FromStr for KeyboardMode { impl KeyboardMode { pub fn iter() -> Iter<'static, KeyboardMode> { - static KEYBOARD_MODES: [KeyboardMode; 4] = [ + const KEYBOARD_MODES: [KeyboardMode; 4] = [ KeyboardMode::Legacy, KeyboardMode::Map, KeyboardMode::Translate, |