Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unnecessary branch from limit logic #2030

Merged
merged 1 commit into from
Aug 19, 2024

Conversation

tstirrat15
Copy link
Contributor

@tstirrat15 tstirrat15 commented Aug 19, 2024

Description

It seems like it's a vestige of when there was additional logic in this file - otherwise the == 0 case handles the decrementing properly.

Changes

  • Remove special handling of == 1 case.

Testing

Review. See that tests pass.

@tstirrat15 tstirrat15 requested a review from a team as a code owner August 19, 2024 15:01
Copy link
Member

@josephschorr josephschorr left a comment

Choose a reason for hiding this comment

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

LGTM

@josephschorr josephschorr added this pull request to the merge queue Aug 19, 2024
Merged via the queue into main with commit aa3bb8d Aug 19, 2024
22 checks passed
@josephschorr josephschorr deleted the remove-unnecessary-branch branch August 19, 2024 15:22
@github-actions github-actions bot locked and limited conversation to collaborators Aug 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants