Skip to content

Commit

Permalink
apps: clippy fixup (#1823)
Browse files Browse the repository at this point in the history
  • Loading branch information
LPardue authored Jul 26, 2024
1 parent 2bc513a commit 0ba4a74
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions apps/src/sendto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,9 @@ fn send_to_gso_pacing(
}

/// A wrapper function of send_to().
/// - when GSO and SO_TXTIME enabled, send a packet using send_to_gso().
/// Otherwise, send packet using socket.send_to().
///
/// When GSO and SO_TXTIME are enabled, send packets using send_to_gso().
/// Otherwise, send packets using socket.send_to().
pub fn send_to(
socket: &mio::net::UdpSocket, buf: &[u8], send_info: &quiche::SendInfo,
segment_size: usize, pacing: bool, enable_gso: bool,
Expand Down

0 comments on commit 0ba4a74

Please sign in to comment.