Skip to content

Commit

Permalink
style: try fixing clippy warning (nix-rust#2341)
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveLauC authored Mar 22, 2024
1 parent c6a7d40 commit 01cd697
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 @@ -2407,7 +2407,7 @@ fn test_recvmmsg_timestampns() {
// Receive the message
let mut buffer = vec![0u8; message.len()];
let cmsgspace = nix::cmsg_space!(TimeSpec);
let mut iov = vec![[IoSliceMut::new(&mut buffer)]];
let mut iov = [[IoSliceMut::new(&mut buffer)]];
let mut data = MultiHeaders::preallocate(1, Some(cmsgspace));
let r: Vec<RecvMsg<()>> = recvmmsg(
in_socket.as_raw_fd(),
Expand Down

0 comments on commit 01cd697

Please sign in to comment.