From 7c8ea3fd70117273fdb013a7e747083d04215812 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Mon, 7 Aug 2023 19:51:06 +0400 Subject: Fix warnings --- src/state.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/state.rs') diff --git a/src/state.rs b/src/state.rs index 7573d27b..15bdf3a0 100644 --- a/src/state.rs +++ b/src/state.rs @@ -39,7 +39,7 @@ pub struct Smallvil { } impl Smallvil { - pub fn new(event_loop: &mut EventLoop, display: &mut Display) -> Self { + pub fn new(event_loop: &EventLoop, display: &mut Display) -> Self { let start_time = std::time::Instant::now(); let dh = display.handle(); @@ -94,7 +94,7 @@ impl Smallvil { fn init_wayland_listener( display: &mut Display, - event_loop: &mut EventLoop, + event_loop: &EventLoop, ) -> OsString { // Creates a new listening socket, automatically choosing the next available `wayland` // socket name. -- cgit