chore: fix clippy lints

This commit is contained in:
Kirill Chibisov 2025-02-20 20:21:07 +03:00
parent d7d20507ed
commit 05d8fa0b91
3 changed files with 4 additions and 4 deletions

View file

@ -299,9 +299,9 @@ impl EventLoop {
// Create the display based on the backend.
match backend {
#[cfg(wayland_platform)]
Backend::Wayland => EventLoop::new_wayland_any_thread().map_err(Into::into),
Backend::Wayland => EventLoop::new_wayland_any_thread(),
#[cfg(x11_platform)]
Backend::X => EventLoop::new_x11_any_thread().map_err(Into::into),
Backend::X => EventLoop::new_x11_any_thread(),
}
}