diff --git a/libs/enigo/src/linux.rs b/libs/enigo/src/linux.rs index 2fe5d2205..be21a2c70 100644 --- a/libs/enigo/src/linux.rs +++ b/libs/enigo/src/linux.rs @@ -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));