mirror of
https://github.com/storytold/winit.git
synced 2026-11-24 21:30:44 +01:00
On X11, fix nightly warnings
The new analysis suggests that we can remove mut.
This commit is contained in:
1 parent
0881a28302
commit
6f97ff174b
1 file changed
+1
-1
@@ -384,7 +384,7 @@ impl UnownedWindow {
|
||||
}
|
||||
}
|
||||
|
||||
let mut shared_state = window.shared_state.get_mut().unwrap();
|
||||
let shared_state = window.shared_state.get_mut().unwrap();
|
||||
shared_state.min_inner_size = min_inner_size.map(Into::into);
|
||||
shared_state.max_inner_size = max_inner_size.map(Into::into);
|
||||
shared_state.resize_increments = window_attrs.resize_increments;
|
||||
|
||||
Reference in new issue
Block a user