mirror of
https://github.com/rustdesk/qemu-display.git
synced 2026-04-06 15:56:23 +00:00
Fix clippy warning
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
@@ -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>,
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user