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

Small extension to Comparable for readability #717

Merged
merged 3 commits into from
Oct 30, 2023
Merged

Conversation

timbms
Copy link
Contributor

@timbms timbms commented Apr 4, 2023

Migrated to clamped(to:) from min(max. Makes it much more readable

@digitaldan
Copy link
Contributor

Hey @timbms this one is a little old, is it still good to merge ?

@timbms
Copy link
Contributor Author

timbms commented Oct 30, 2023

It just is some syntactic sugar.

@timbms timbms merged commit cff72ae into develop Oct 30, 2023
2 checks passed
@timbms timbms deleted the minmaxcomparable branch October 30, 2023 18:02
timbms added a commit that referenced this pull request Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants