From cbf52208db993ae888c538bdf11af6550784b886 Mon Sep 17 00:00:00 2001 From: Niklas Korz Date: Sat, 15 May 2021 11:05:03 +0200 Subject: [PATCH] Fix warning in Rust 1.52 --- src/application.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/application.rs b/src/application.rs index 4335d3f..d1a8443 100644 --- a/src/application.rs +++ b/src/application.rs @@ -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);