mirror of
https://gitlab.com/marcandre.lureau/qemu-display.git
synced 2025-02-07 11:07:17 +00:00
Fix clippy warnings
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
parent
e75fbd1539
commit
8f70feb2e5
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user