Skip to content

Commit 005cfe4

Browse files
committed
impl Debug for IndexKey + PointOrRange
1 parent b98f444 commit 005cfe4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • crates/table/src/table_index

crates/table/src/table_index/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1772,7 +1772,7 @@ impl TypedIndex {
17721772
}
17731773

17741774
/// A key into a [`TableIndex`].
1775-
#[derive(derive_more::From)]
1775+
#[derive(Debug, derive_more::From)]
17761776
pub struct IndexKey<'a> {
17771777
key: TypedIndexKey<'a>,
17781778
}
@@ -1785,6 +1785,7 @@ impl IndexKey<'_> {
17851785
}
17861786

17871787
/// A decoded range scan bound, which may be a point or a range.
1788+
#[derive(Debug)]
17881789
pub enum PointOrRange<'a> {
17891790
/// A point scan.
17901791
Point(IndexKey<'a>),

0 commit comments

Comments
 (0)