diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2023-08-07 19:51:06 +0400 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2023-08-10 14:49:38 +0400 |
| commit | 7c8ea3fd70117273fdb013a7e747083d04215812 (patch) | |
| tree | c69ed8cfebf0cb6b9bc05d2e8577384bb08164df /src/state.rs | |
| parent | a58e879bce52c1b5072e50769a17ee128a42c1a2 (diff) | |
| download | niri-7c8ea3fd70117273fdb013a7e747083d04215812.tar.gz niri-7c8ea3fd70117273fdb013a7e747083d04215812.tar.bz2 niri-7c8ea3fd70117273fdb013a7e747083d04215812.zip | |
Fix warnings
Diffstat (limited to 'src/state.rs')
| -rw-r--r-- | src/state.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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<CalloopData>, display: &mut Display<Self>) -> Self { + pub fn new(event_loop: &EventLoop<CalloopData>, display: &mut Display<Self>) -> 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<Smallvil>, - event_loop: &mut EventLoop<CalloopData>, + event_loop: &EventLoop<CalloopData>, ) -> OsString { // Creates a new listening socket, automatically choosing the next available `wayland` // socket name. |
