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:
parent
962241e2a0
commit
7b0ef160fc
11 changed files with 17 additions and 33 deletions
|
|
@ -753,7 +753,7 @@ impl UnownedWindow {
|
|||
if old_fullscreen == fullscreen {
|
||||
return Ok(None);
|
||||
}
|
||||
shared_state_lock.fullscreen = fullscreen.clone();
|
||||
shared_state_lock.fullscreen.clone_from(&fullscreen);
|
||||
|
||||
match (&old_fullscreen, &fullscreen) {
|
||||
// Store the desktop video mode before entering exclusive
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue