Skip to content

Commit

Permalink
Fix a non_fmt_panic warning with Rustc 1.52.0
Browse files Browse the repository at this point in the history
  • Loading branch information
asomers committed Aug 14, 2021
1 parent c0a9fd7 commit b13f73c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_poll.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
}
Expand Down

0 comments on commit b13f73c

Please sign in to comment.