chore: silence clippy

It appears that clippy's dead code detection has gotten better. This
commit fixes winit's code to match.

Signed-off-by: John Nunley <dev@notgull.net>
This commit is contained in:
John Nunley 2024-03-27 01:20:21 -07:00 committed by GitHub
parent 962241e2a0
commit 7b0ef160fc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 17 additions and 33 deletions

View file

@ -724,7 +724,7 @@ impl Window {
_ => {}
}
window_state_lock.fullscreen = fullscreen.clone();
window_state_lock.fullscreen.clone_from(&fullscreen);
drop(window_state_lock);
self.thread_executor.execute_in_thread(move || {