diff options
author | Integral <[email protected]> | 2024-12-07 17:54:53 +0800 |
---|---|---|
committer | GitHub <[email protected]> | 2024-12-07 17:54:53 +0800 |
commit | 772db7422f679db1fa06be1097cd676a73055851 (patch) | |
tree | d2247269277b27b20f34372d93eb1a778e95721b /libs/hbb_common | |
parent | 2f246537df8dff36a2facc60bfdd429ed065272c (diff) | |
download | rustdesk-server-master.tar.gz rustdesk-server-master.zip |
Diffstat (limited to 'libs/hbb_common')
-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, |