mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-27 23:23:14 -04:00
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:
@@ -6,7 +6,7 @@ use web_time::Instant;
|
||||
pub enum State {
|
||||
Init,
|
||||
WaitUntil {
|
||||
timeout: backend::Schedule,
|
||||
_timeout: backend::Schedule,
|
||||
start: Instant,
|
||||
end: Instant,
|
||||
},
|
||||
@@ -14,7 +14,7 @@ pub enum State {
|
||||
start: Instant,
|
||||
},
|
||||
Poll {
|
||||
request: backend::Schedule,
|
||||
_request: backend::Schedule,
|
||||
},
|
||||
Exit,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user