diff options
author | Alan Somers <asomers@gmail.com> | 2021-02-20 14:49:12 -0700 |
---|---|---|
committer | Alan Somers <asomers@gmail.com> | 2021-02-20 14:49:12 -0700 |
commit | 7c755e6025e439cec7f8331a5c013acf532415b8 (patch) | |
tree | e4bce2f5c371fc8f6bda09c71db1ed83bac0f237 | |
parent | d0bba22db495951d4488e615f35c8d9c87eb1ff2 (diff) | |
download | nix-7c755e6025e439cec7f8331a5c013acf532415b8.zip |
Fix a non_fmt_panic warning with Rustc 1.52.0
-rw-r--r-- | test/test_poll.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_poll.rs b/test/test_poll.rs index a5e2d254..acfaad8b 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) } } } |