Refactor to remove warning

This commit is contained in:
Asura
2022-07-18 17:42:02 +08:00
parent 72273f4546
commit 80b01a96db
2 changed files with 4 additions and 6 deletions

View File

@@ -3,7 +3,7 @@ use super::*;
use dispatch::Queue;
use enigo::{Enigo, Key, KeyboardControllable, MouseButton, MouseControllable};
use hbb_common::{config::COMPRESS_LEVEL, protobuf::ProtobufEnumOrUnknown};
use rdev::{simulate, EventType, EventType::*, Key as RdevKey, SimulateError};
use rdev::{simulate, EventType, Key as RdevKey};
use std::{
convert::TryFrom,
sync::atomic::{AtomicBool, Ordering},