Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Commit 65d9238

Browse files
authored
remove pub from to_packet_batches_for_tests (#31056)
1 parent e575650 commit 65d9238

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

perf/src/packet.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ pub fn to_packet_batches<T: Serialize>(items: &[T], chunk_size: usize) -> Vec<Pa
224224
}
225225

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

0 commit comments

Comments
 (0)