Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
Fixed error
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgecarleitao committed Dec 23, 2021
1 parent f583531 commit 51739cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/array/utf8/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<O: Offset> {
data_type: DataType,
offsets: Buffer<O>,
Expand Down Expand Up @@ -264,7 +264,7 @@ impl<O: Offset> Array for Utf8Array<O> {
}
}

impl<O: Offset> std::fmt::Display for Utf8Array<O> {
impl<O: Offset> std::fmt::Debug for Utf8Array<O> {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
display_fmt(self.iter(), &format!("{:?}", self.data_type()), f, false)
}
Expand Down

0 comments on commit 51739cc

Please sign in to comment.