chore: use saturating sub instead of simple sub
parent
677314f52f
commit
f45679183c
|
@ -221,7 +221,7 @@ where
|
||||||
if row_count >= rows_left {
|
if row_count >= rows_left {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
rows_left -= row_count;
|
rows_left = rows_left.saturating_sub(row_count);
|
||||||
to_compact.push(chunk);
|
to_compact.push(chunk);
|
||||||
}
|
}
|
||||||
_ => {}
|
_ => {}
|
||||||
|
|
Loading…
Reference in New Issue