Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
esemeniuc committed Feb 9, 2024
1 parent 36bdf0a commit ac628bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/forwarder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ fn recv_from_channel_and_send_multiple_dest(
debug_trace_shred: bool,
metrics: &Arc<ShredMetrics>,
) -> Result<(), ShredstreamProxyError> {
let packet_batch = maybe_packet_batch.map_err(|e| ShredstreamProxyError::RecvError(e))?;
let packet_batch = maybe_packet_batch.map_err(ShredstreamProxyError::RecvError)?;
let trace_shred_received_time = SystemTime::now();
metrics
.agg_received
Expand Down

0 comments on commit ac628bb

Please sign in to comment.