Skip to content

Commit

Permalink
Fix warning in Rust 1.52
Browse files Browse the repository at this point in the history
  • Loading branch information
niklaskorz committed May 15, 2021
1 parent 09381c6 commit cbf5220
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/application.rs
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ impl Application {
entry_point: "main",
});

self.device.on_uncaptured_error(|e| panic!(e));
self.device.on_uncaptured_error(|e| panic!("{}", e));

if let Ok(err) = rx.try_recv() {
return Err(err);
Expand Down

0 comments on commit cbf5220

Please sign in to comment.