From b13f73cc8bc06c105ed23c844bb5e6c0afe35223 Mon Sep 17 00:00:00 2001 From: Alan Somers Date: Sat, 20 Feb 2021 14:49:12 -0700 Subject: [PATCH] Fix a non_fmt_panic warning with Rustc 1.52.0 --- test/test_poll.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_poll.rs b/test/test_poll.rs index a5e2d254b5..acfaad8bea 100644 --- a/test/test_poll.rs +++ b/test/test_poll.rs @@ -11,7 +11,7 @@ macro_rules! loop_while_eintr { match $poll_expr { Ok(nfds) => break nfds, Err(Error::Sys(Errno::EINTR)) => (), - Err(e) => panic!(e) + Err(e) => panic!("{}", e) } } }