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

Rename Limited trait to Clamp #210

Merged
merged 1 commit into from Apr 4, 2021
Merged

Rename Limited trait to Clamp #210

merged 1 commit into from Apr 4, 2021

Conversation

okaneco
Copy link
Contributor

@okaneco okaneco commented Apr 4, 2021

Rename is_valid to is_within_bounds
Update the assert_ranges macro to use clamped instead of limited
Update relevant documentation and examples

Closes #209

Rename `is_valid` to `is_within_bounds`
Update the assert_ranges macro to use `clamped` instead of `limited`
Update relevant documentation and examples
@Ogeon
Copy link
Owner

Ogeon commented Apr 4, 2021

Oh, excellent! I wasn't expecting such a quick response, but it's a most welcome one! And thanks for going the extra mile with the assert_ranges macro. This looks good, so let's merge!

bors r+

@bors
Copy link
Contributor

bors bot commented Apr 4, 2021

Build succeeded:

@bors bors bot merged commit 6795d97 into Ogeon:master Apr 4, 2021
@okaneco okaneco deleted the clamp branch April 4, 2021 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rename Limited to Clamp
2 participants