Skip to content

Commit 62689cb

Browse files
committed
Remove encoding, combine it with VTable struct
Signed-off-by: Nicholas Gates <[email protected]>
1 parent 3e6aac5 commit 62689cb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

vortex-array/src/vtable/dyn_.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,12 @@
33

44
use std::any::Any;
55
use std::fmt::{Debug, Display, Formatter};
6-
use std::ops::Deref;
76
use std::sync::Arc;
87

98
use arcref::ArcRef;
109
use vortex_buffer::ByteBuffer;
1110
use vortex_dtype::DType;
12-
use vortex_error::{VortexExpect, VortexResult, vortex_bail, vortex_err};
11+
use vortex_error::{vortex_bail, vortex_err, VortexExpect, VortexResult};
1312

1413
use crate::serde::ArrayChildren;
1514
use crate::vtable::{EncodeVTable, VTable};
@@ -174,7 +173,10 @@ impl dyn DynVTable + '_ {
174173
}
175174

176175
pub trait ArrayVTableExt {
176+
/// Wraps the vtable into an `ArrayVTable` by static reference.
177177
fn to_array_vtable(&'static self) -> ArrayVTable;
178+
179+
/// Wraps the vtable into an `ArrayVTable` by owned reference.
178180
fn into_array_vtable(self) -> ArrayVTable;
179181
}
180182

0 commit comments

Comments
 (0)