1
0
Fork 0
forked from wry/wry

all: address clippy lints

This commit is contained in:
Julian Orth 2023-10-22 16:01:40 +02:00
parent a09e8bfbd3
commit a2a04512ed
4 changed files with 5 additions and 6 deletions

View file

@ -110,7 +110,7 @@ impl Session {
LOGIND_NAME,
&self.session_path,
org::freedesktop::login1::session::TakeDevice { major, minor },
move |r| f(r),
f,
);
}
@ -122,7 +122,7 @@ impl Session {
.handle_signal::<org::freedesktop::login1::session::PauseDevice, _>(
Some(LOGIND_NAME),
Some(&self.session_path),
move |v| f(v),
f,
)
}
@ -154,7 +154,7 @@ impl Session {
LOGIND_NAME,
&self.seat,
org::freedesktop::login1::seat::SwitchTo { vtnr },
|r| f(r),
f,
);
}
}