Skip to content

Commit

Permalink
remove pub from to_packet_batches_for_tests (#31056)
Browse files Browse the repository at this point in the history
  • Loading branch information
apfitzge authored Apr 5, 2023
1 parent e575650 commit 65d9238
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion perf/src/packet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ pub fn to_packet_batches<T: Serialize>(items: &[T], chunk_size: usize) -> Vec<Pa
}

#[cfg(test)]
pub fn to_packet_batches_for_tests<T: Serialize>(items: &[T]) -> Vec<PacketBatch> {
fn to_packet_batches_for_tests<T: Serialize>(items: &[T]) -> Vec<PacketBatch> {
to_packet_batches(items, NUM_PACKETS)
}

Expand Down

0 comments on commit 65d9238

Please sign in to comment.