chore: Rust 2024 edition

Set the formatting style to 2021 edition to avoid disrupting existing work.
Remove when possible.
This commit is contained in:
Vukašin Vojinović 2025-07-21 14:56:53 +02:00 committed by Victoria Brekenfeld
parent 35d781dc1e
commit 7f7ab8bcbe
19 changed files with 494 additions and 506 deletions

View file

@ -163,7 +163,7 @@ fn init_libinput(
let libinput_backend = LibinputInputBackend::new(libinput_context.clone());
evlh.insert_source(libinput_backend, move |mut event, _, state| {
if let InputEvent::DeviceAdded { ref mut device } = &mut event {
if let InputEvent::DeviceAdded { device } = &mut event {
state.common.config.read_device(device);
state
.backend