Skip to content

Commit 7c755e6

Browse files
committed
Fix a non_fmt_panic warning with Rustc 1.52.0
1 parent d0bba22 commit 7c755e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_poll.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ macro_rules! loop_while_eintr {
1111
match $poll_expr {
1212
Ok(nfds) => break nfds,
1313
Err(Error::Sys(Errno::EINTR)) => (),
14-
Err(e) => panic!(e)
14+
Err(e) => panic!("{}", e)
1515
}
1616
}
1717
}

0 commit comments

Comments
 (0)