Skip to content

Conversation

@hkBst
Copy link
Member

@hkBst hkBst commented Dec 22, 2025

Continuation of #146436

r? @joboet

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Dec 22, 2025
@rustbot
Copy link
Collaborator

rustbot commented Dec 22, 2025

r? @scottmcm

rustbot has assigned @scottmcm.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Copy link
Member

@Kivooeo Kivooeo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That seems like a good change to me, but unfortunately I can't r+ it since this is a library change

r? scottmcm

View changes since this review

@rustbot rustbot assigned scottmcm and unassigned Kivooeo Dec 22, 2025
Some(sum) => sum,
None => 0,
};
let start = end.checked_sub(self.chunk_size).unwrap_or_default();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
let start = end.checked_sub(self.chunk_size).unwrap_or_default();
let start = end.saturating_sub(self.chunk_size);

wouldn't this be even better?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, that's correct, and I'm now using that.

@rustbot
Copy link
Collaborator

rustbot commented Dec 23, 2025

This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

@rustbot rustbot assigned joboet and unassigned scottmcm Dec 23, 2025
@rustbot
Copy link
Collaborator

rustbot commented Dec 23, 2025

joboet is not on the review rotation at the moment.
They may take a while to respond.

@rust-log-analyzer

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants