mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-23 22:01:31 +11:00
On X11, fix nightly warnings
The new analysis suggests that we can remove mut.
This commit is contained in:
parent
2496098890
commit
f980ed7b83
|
@ -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.min_inner_size = min_inner_size.map(Into::into);
|
||||||
shared_state.max_inner_size = max_inner_size.map(Into::into);
|
shared_state.max_inner_size = max_inner_size.map(Into::into);
|
||||||
shared_state.resize_increments = window_attrs.resize_increments;
|
shared_state.resize_increments = window_attrs.resize_increments;
|
||||||
|
|
Loading…
Reference in a new issue