Fix clippy warning

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
Marc-André Lureau 2021-08-14 01:28:43 +04:00
parent 70c9e81515
commit 0d8866303e

View File

@ -37,6 +37,8 @@ pub trait Clipboard {
) -> zbus::Result<(String, Vec<u8>)>;
}
pub type ClipboardReplyTx = Sender<Result<(String, Vec<u8>)>>;
// TODO: replace events mpsc with async traits
#[derive(Debug)]
pub enum ClipboardEvent {
@ -53,7 +55,7 @@ pub enum ClipboardEvent {
Request {
selection: ClipboardSelection,
mimes: Vec<String>,
tx: Mutex<Sender<Result<(String, Vec<u8>)>>>,
tx: Mutex<ClipboardReplyTx>,
},
}