From 5452d082141e5215b38892afa48a41c59fedf57f Mon Sep 17 00:00:00 2001 From: Raphael Taylor-Davies Date: Sat, 20 Jan 2024 10:57:14 +0000 Subject: [PATCH] Clippy --- arrow/benches/json_writer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arrow/benches/json_writer.rs b/arrow/benches/json_writer.rs index eac9573b9a30..1e169845f8e3 100644 --- a/arrow/benches/json_writer.rs +++ b/arrow/benches/json_writer.rs @@ -35,7 +35,7 @@ fn do_bench(c: &mut Criterion, name: &str, batch: &RecordBatch) { c.bench_function(name, |b| { b.iter(|| { let mut out = Vec::with_capacity(1024); - LineDelimitedWriter::new(&mut out).write(&batch).unwrap(); + LineDelimitedWriter::new(&mut out).write(batch).unwrap(); out }) });