fix(main): shut clippy up
This commit is contained in:
@@ -11,12 +11,7 @@ fn main() {
|
||||
let event_loop = EventLoop::new(None).expect("Couldn't create server socket");
|
||||
println!("Stardust socket created at {}", event_loop.socket_path);
|
||||
|
||||
loop {
|
||||
match rx.try_recv() {
|
||||
Err(TryRecvError::Empty) => {
|
||||
std::thread::sleep(std::time::Duration::from_millis(1000 / 60))
|
||||
}
|
||||
_ => break,
|
||||
}
|
||||
while let Err(TryRecvError::Empty) = rx.try_recv() {
|
||||
std::thread::sleep(std::time::Duration::from_millis(1000 / 60));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user