From 39695e94d3407d1bd6f98b63a4867368a8d6d884 Mon Sep 17 00:00:00 2001 From: Jorge Leitao Date: Thu, 23 Dec 2021 23:17:18 +0000 Subject: [PATCH] Fixed error (#705) --- src/array/utf8/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/array/utf8/mod.rs b/src/array/utf8/mod.rs index 4b0f0e0ef9f..ec436c813b6 100644 --- a/src/array/utf8/mod.rs +++ b/src/array/utf8/mod.rs @@ -30,7 +30,7 @@ pub use mutable::*; /// * Two consecutives `offsets` casted (`as`) to `usize` are valid slices of `values`. /// * A slice of `values` taken from two consecutives `offsets` is valid `utf8`. /// * `len` is equal to `validity.len()`, when defined. -#[derive(Debug, Clone)] +#[derive(Clone)] pub struct Utf8Array { data_type: DataType, offsets: Buffer, @@ -264,7 +264,7 @@ impl Array for Utf8Array { } } -impl std::fmt::Display for Utf8Array { +impl std::fmt::Debug for Utf8Array { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { display_fmt(self.iter(), &format!("{:?}", self.data_type()), f, false) }