From 8e252e176bb7b9b4bb1a37b3cdb957d5b92af490 Mon Sep 17 00:00:00 2001 From: Alexandre Bury Date: Fri, 12 Feb 2021 14:23:54 -0800 Subject: [PATCH] Fix panic warning --- cursive/src/backends/puppet/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cursive/src/backends/puppet/mod.rs b/cursive/src/backends/puppet/mod.rs index 1640907..27099c9 100644 --- a/cursive/src/backends/puppet/mod.rs +++ b/cursive/src/backends/puppet/mod.rs @@ -80,7 +80,7 @@ impl backend::Backend for Backend { match self.inner_receiver.try_recv() { Ok(event) => event, Err(TryRecvError::Empty) => None, - Err(e) => panic!(e), + Err(e) => panic!("{}", e), } }