diff --git a/arrow-array/src/types.rs b/arrow-array/src/types.rs index 70c43a2a494..edf6d40f3ae 100644 --- a/arrow-array/src/types.rs +++ b/arrow-array/src/types.rs @@ -472,17 +472,6 @@ mod private { impl DecimalTypeSealed for Decimal256Type {} } -/// Trait representing the in-memory layout of a decimal type -pub trait NativeDecimalType: Send + Sync + Copy + AsRef<[u8]> { - fn from_slice(slice: &[u8]) -> Self; -} - -impl NativeDecimalType for [u8; N] { - fn from_slice(slice: &[u8]) -> Self { - slice.try_into().unwrap() - } -} - /// A trait over the decimal types, used by [`DecimalArray`] to provide a generic /// implementation across the various decimal types ///