Skip to content

Commit 605c6d2

Browse files
committed
store: Remove unused methods on BlockRangeColumn
1 parent 989c980 commit 605c6d2

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

store/postgres/src/block_range.rs

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -165,13 +165,6 @@ impl<'a> BlockRangeColumn<'a> {
165165
}
166166
}
167167
}
168-
169-
pub fn block(&self) -> BlockNumber {
170-
match self {
171-
BlockRangeColumn::Mutable { block, .. } => *block,
172-
BlockRangeColumn::Immutable { block, .. } => *block,
173-
}
174-
}
175168
}
176169

177170
impl<'a> BlockRangeColumn<'a> {
@@ -227,13 +220,6 @@ impl<'a> BlockRangeColumn<'a> {
227220
}
228221
}
229222

230-
pub fn column_name(&self) -> &str {
231-
match self {
232-
BlockRangeColumn::Mutable { .. } => BLOCK_RANGE_COLUMN,
233-
BlockRangeColumn::Immutable { .. } => BLOCK_COLUMN,
234-
}
235-
}
236-
237223
/// Output the qualified name of the block range column
238224
pub fn name(&self, out: &mut AstPass<Pg>) {
239225
match self {

0 commit comments

Comments
 (0)