Skip to content

Commit

Permalink
unneccessary trait bound
Browse files Browse the repository at this point in the history
  • Loading branch information
apfitzge committed Sep 30, 2024
1 parent af33eb5 commit 540e732
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion perf/src/mutable_packet_batch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use {crate::packet::PacketBatch, core::borrow::Borrow, std::sync::Arc};
/// Helper trait to make it simple to work with:
/// - `&mut [PacketBatch]` or
/// - `&mut [Arc<PacketBatch>]`
pub trait MutablePacketBatch: Borrow<PacketBatch> + Send + Sync {
pub trait MutablePacketBatch: Borrow<PacketBatch> + Send {
fn as_mut(&mut self) -> &mut PacketBatch;
}

Expand Down

0 comments on commit 540e732

Please sign in to comment.