This commit is contained in:
open-trade 2022-01-07 18:05:33 +08:00
parent 26d161f827
commit a7a4cd7eac

View File

@ -182,7 +182,7 @@ impl MouseControllable for Enigo {
}
fn keysequence<'a>(key: Key) -> Cow<'a, str> {
if let Key::KeySym(sym) = key {
return Cow::Owned("");
return Cow::Owned("".to_owned());
}
if let Key::Layout(c) = key {
return Cow::Owned(format!("U{:X}", c as u32));