Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Icelk committed Jun 1, 2024
1 parent 07d9271 commit 07faf3c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/uring_udp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,10 @@ impl quinn::AsyncUdpSocket for UringUdpSocket {
);
let t = unsafe { transmit_to_static_lifetime(transmit) };

let (mut msgs, mut ctrl_vec) = me.reused_vecs.take().expect("multiple sends at the same time");
let (mut msgs, mut ctrl_vec) = me
.reused_vecs
.take()
.expect("multiple sends at the same time");
msgs.push(t.contents);

ctrl_vec.extend_from_slice(&ctrl.0[..hdr.msg_controllen]);
Expand Down

0 comments on commit 07faf3c

Please sign in to comment.