From 0d371e8b33e47daeb645b8c25df967c4a39611db Mon Sep 17 00:00:00 2001 From: Ning Sun Date: Fri, 10 Jul 2026 09:18:46 +0800 Subject: [PATCH] fix: lint issues --- arrow-pg/src/encoder.rs | 2 +- arrow-pg/src/list_encoder.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arrow-pg/src/encoder.rs b/arrow-pg/src/encoder.rs index 536c16c..bd9b3a6 100644 --- a/arrow-pg/src/encoder.rs +++ b/arrow-pg/src/encoder.rs @@ -525,7 +525,7 @@ pub fn encode_value( return Err(PgWireError::ApiError(ToSqlError::from(format!( "Unsupported Datatype {} and array {:?}", arr.data_type(), - &arr + arr )))); } } diff --git a/arrow-pg/src/list_encoder.rs b/arrow-pg/src/list_encoder.rs index 1a0788b..2db41f8 100644 --- a/arrow-pg/src/list_encoder.rs +++ b/arrow-pg/src/list_encoder.rs @@ -624,7 +624,7 @@ pub fn encode_list( // TODO: add support for more advanced types (fixed size lists, etc.) list_type => Err(PgWireError::ApiError(ToSqlError::from(format!( "Unsupported List Datatype {} and array {:?}", - list_type, &arr + list_type, arr )))), } }