mirror of
https://github.com/rustdesk/qemu-display.git
synced 2026-10-22 08:18:13 +00:00
Fix clippy warnings
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
1 parent
e75fbd1539
commit
8f70feb2e5
2 files changed
+2
-2
No files matched your search
@@ -38,7 +38,7 @@ impl<'d> Display<'d> {
|
||||
.receive_name_owner_changed()
|
||||
.await?;
|
||||
loop {
|
||||
let list = Display::by_name(&conn).await?;
|
||||
let list = Display::by_name(conn).await?;
|
||||
if let Some(name) = name {
|
||||
let res = list.get(name);
|
||||
if res.is_some() {
|
||||
|
||||
@@ -5,7 +5,7 @@ use zvariant::Type;
|
||||
|
||||
#[bitflags]
|
||||
#[repr(u32)]
|
||||
#[derive(Type, Debug, PartialEq, Copy, Clone, Serialize, Deserialize)]
|
||||
#[derive(Type, Debug, PartialEq, Copy, Clone, Eq, Serialize, Deserialize)]
|
||||
pub enum KeyboardModifiers {
|
||||
Scroll = 0x1,
|
||||
Num = 0x2,
|
||||
|
||||
Reference in new issue
Block a user