Skip to content

Commit 0ed77fa

Browse files
authored
chore: impl Debug & Clone for Index params (lancedb#1808)
we don't really need these trait in lancedb, but all fields in `Index` implement the 2 traits, so do it for possibility to use `Index` somewhere Signed-off-by: BubbleCal <[email protected]>
1 parent 4372c23 commit 0ed77fa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rust/lancedb/src/index.rs

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ pub mod scalar;
2929
pub mod vector;
3030

3131
/// Supported index types.
32+
#[derive(Debug, Clone)]
3233
pub enum Index {
3334
Auto,
3435
/// A `BTree` index is an sorted index on scalar columns.

0 commit comments

Comments
 (0)