mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 21:15:32 +09:00
chore(deps): upgrade all dependencies, toolchains and images (#2825)
This commit is contained in:
1 parent
56e04e7b53
commit
3b552e00ef
510 files changed
+23614
-37473
No files matched your search
@@ -170,11 +170,7 @@ struct KeysymCache {
|
||||
impl KeysymCache {
|
||||
fn build(reply: &GetKeyboardMappingReply, min_keycode: Keycode) -> Self {
|
||||
let per = reply.keysyms_per_keycode as usize;
|
||||
let count = if per == 0 {
|
||||
0
|
||||
} else {
|
||||
reply.keysyms.len() / per
|
||||
};
|
||||
let count = reply.keysyms.len().checked_div(per).unwrap_or(0);
|
||||
let mut syms = Vec::with_capacity(count);
|
||||
if per > 0 {
|
||||
for i in 0..count {
|
||||
|
||||
Reference in new issue
Block a user