Skip to content

Commit

Permalink
Fix clippy errors
Browse files Browse the repository at this point in the history
  • Loading branch information
azymohliad committed Jul 28, 2024
1 parent 3fbd463 commit 05e7e75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xilem/examples/data_thread.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ fn data_thread(proxy_receiver: mpsc::Receiver<MessageProxy<i32>>) {
let mut number = 0;
while let Ok(()) = proxy.message(number) {
number += 1;
thread::sleep(time::Duration::from_secs(1))
thread::sleep(time::Duration::from_secs(1));
}
}
}
Expand All @@ -47,5 +47,5 @@ fn main() {
thread::spawn(move || data_thread(proxy_receiver));
Xilem::new(data, app_logic)
.run_windowed(EventLoop::with_user_event(), "Centered Flex".into())
.unwrap()
.unwrap();
}

0 comments on commit 05e7e75

Please sign in to comment.