Skip to content

Commit

Permalink
On Wayland, fix nightly warnings
Browse files Browse the repository at this point in the history
The new analysis suggests that we can remove mut.
  • Loading branch information
kchibisov committed May 4, 2023
1 parent bb26b03 commit 30678cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/platform_impl/linux/wayland/window/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,12 +170,12 @@ impl Window {
use sctk::window::{Event, State};

let winit_state = dispatch_data.get::<WinitState>().unwrap();
let mut window_compositor_update = winit_state
let window_compositor_update = winit_state
.window_compositor_updates
.get_mut(&window_id)
.unwrap();

let mut window_user_requests = winit_state
let window_user_requests = winit_state
.window_user_requests
.get_mut(&window_id)
.unwrap();
Expand Down

0 comments on commit 30678cb

Please sign in to comment.