diff --git a/arrow/src/util/pretty.rs b/arrow/src/util/pretty.rs
index 91343ec0f161..c654fbcd3be4 100644
--- a/arrow/src/util/pretty.rs
+++ b/arrow/src/util/pretty.rs
@@ -74,7 +74,7 @@ fn create_table(results: &[RecordBatch]) -> Result
{
let mut cells = Vec::new();
for col in 0..batch.num_columns() {
let column = batch.column(col);
- cells.push(Cell::new(&array_value_to_string(&column, row)?));
+ cells.push(Cell::new(&array_value_to_string(column, row)?));
}
table.add_row(cells);
}
@@ -96,7 +96,7 @@ fn create_column(field: &str, columns: &[ArrayRef]) -> Result {
for col in columns {
for row in 0..col.len() {
- let cells = vec![Cell::new(&array_value_to_string(&col, row)?)];
+ let cells = vec![Cell::new(&array_value_to_string(col, row)?)];
table.add_row(cells);
}
}