Skip to content

Commit

Permalink
style: fix cilppy
Browse files Browse the repository at this point in the history
  • Loading branch information
evenyag committed Feb 23, 2024
1 parent d82e617 commit 63d9c09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mito2/src/memtable/merge_tree/data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ impl DataBufferReader {
/// # Panics
/// If Current reader is exhausted.
pub(crate) fn current_data_batch(&self) -> DataBatch {
let range = self.current_range.clone().unwrap();
let range = self.current_range.unwrap();
DataBatch {
rb: &self.batch,
range,
Expand Down Expand Up @@ -742,7 +742,7 @@ impl DataPartReader {
/// # Panics
/// If reader is exhausted.
pub(crate) fn current_data_batch(&self) -> DataBatch {
let range = self.current_range.clone().unwrap();
let range = self.current_range.unwrap();
DataBatch {
rb: self.current_batch.as_ref().unwrap(),
range,
Expand Down

0 comments on commit 63d9c09

Please sign in to comment.