On X11, fix nightly warnings

The new analysis suggests that we can remove mut.
This commit is contained in:
Kirill Chibisov 2023-05-03 22:20:29 +03:00
parent 2496098890
commit f980ed7b83

View file

@ -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;