Skip to content

Commit

Permalink
Clippy cleanup: endless_loop (#2135)
Browse files Browse the repository at this point in the history
  • Loading branch information
asomers committed Sep 23, 2023
1 parent b869424 commit 154a8a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/sys/test_socket.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1302,7 +1302,7 @@ pub fn test_sendmsg_empty_cmsgs() {
)
.unwrap();

for _ in msg.cmsgs() {
if msg.cmsgs().next().is_some() {
panic!("unexpected cmsg");
}
assert!(!msg
Expand Down

0 comments on commit 154a8a4

Please sign in to comment.