diff --git a/src/array/boolean.rs b/src/array/boolean.rs index 55952b6c..f4c8166b 100644 --- a/src/array/boolean.rs +++ b/src/array/boolean.rs @@ -94,12 +94,11 @@ where #[cfg(test)] mod tests { + use super::*; use crate::{ bitmap::{BitmapRef, ValidityBitmap}, buffer::{BoxBuffer, BufferRefMut}, }; - - use super::*; use std::mem; #[test] diff --git a/src/array/fixed_size_primitive.rs b/src/array/fixed_size_primitive.rs index 2293854e..a9939763 100644 --- a/src/array/fixed_size_primitive.rs +++ b/src/array/fixed_size_primitive.rs @@ -1,13 +1,10 @@ +use super::Array; use crate::{ buffer::{BufferType, VecBuffer}, validity::Validity, - FixedSize, - Length, - // Length, + FixedSize, Length, }; -use super::Array; - /// Array with primitive values. pub struct FixedSizePrimitiveArray< T: FixedSize, diff --git a/src/array/mod.rs b/src/array/mod.rs index 8cc514e9..60af690b 100644 --- a/src/array/mod.rs +++ b/src/array/mod.rs @@ -1,7 +1,5 @@ //! Sequences of values with known length all having the same type. -// use std::collections::VecDeque; - use crate::{buffer::BufferType, FixedSize}; use std::collections::VecDeque; diff --git a/src/offset.rs b/src/offset.rs index de2e27a6..3479bb6d 100644 --- a/src/offset.rs +++ b/src/offset.rs @@ -183,10 +183,8 @@ impl Length #[cfg(test)] mod tests { - use crate::bitmap::{BitmapRef, ValidityBitmap}; - use super::*; - // use crate::bitmap::{BitmapRef, ValidityBitmap}; + use crate::bitmap::{BitmapRef, ValidityBitmap}; #[test] fn default() {