Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
joshieDo committed Sep 22, 2024
1 parent 186f392 commit e9d3e1f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions crates/cli/commands/src/db/stats.rs
Original file line number Diff line number Diff line change
Expand Up @@ -267,8 +267,10 @@ impl Command {
.1
.zip(last_ranges.1)
.map(|(first, last)| SegmentRangeInclusive::new(first.start(), last.end()))
.or_else(|| last_ranges.1.map(|last| SegmentRangeInclusive::new(0, last.end())));

.or_else(|| {
last_ranges.1.map(|last| SegmentRangeInclusive::new(0, last.end()))
});

let mut row = Row::new();
row.add_cell(Cell::new(segment))
.add_cell(Cell::new(format!("{block_range}")))
Expand Down

0 comments on commit e9d3e1f

Please sign in to comment.