Skip to content

Commit

Permalink
c
Browse files Browse the repository at this point in the history
  • Loading branch information
nameexhaustion committed Mar 3, 2025
1 parent e26c7b2 commit 2236043
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ impl MorselStreamReverser {
// Note: We add the df height here rather than the slice length as the negative slice
// could go past the start of the file.
let n_from_end = offset_len_rtl.0 + combined_df.height();
let n_from_start = total_count.saturating_sub(n_from_end);
let n_from_start = total_count - n_from_end;

if IdxSize::try_from(n_from_start)
.ok()
Expand Down

0 comments on commit 2236043

Please sign in to comment.