mirror of
https://gitlab.com/marcandre.lureau/qemu-display.git
synced 2024-12-22 05:35:20 +00:00
Fix clippy warning
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
parent
70c9e81515
commit
0d8866303e
@ -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>,
|
||||
},
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user