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

Reduce duplication and migrate closeTo with three arguments #389

Merged
merged 3 commits into from
Jul 23, 2023

Conversation

timtebeek
Copy link
Contributor

What's changed?

Remove separate handling of two vs three arguments cases; remove applySpecialCases.

What's your motivation?

closeTo was now only supported for two arguments; duplication made that hard to spot & maintain.

@timtebeek timtebeek self-assigned this Jul 23, 2023
@timtebeek timtebeek added the bug Something isn't working label Jul 23, 2023
@timtebeek timtebeek marked this pull request as ready for review July 23, 2023 12:34
@timtebeek timtebeek merged commit 79690a9 into main Jul 23, 2023
1 check passed
@timtebeek timtebeek deleted the tim/closeTo_within_with_reason branch July 23, 2023 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

1 participant