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

Tiny cosmetic change #31

Merged
merged 1 commit into from
Feb 1, 2022
Merged

Tiny cosmetic change #31

merged 1 commit into from
Feb 1, 2022

Conversation

Conando025
Copy link

I know that has no effect on what so ever but it bothered me when reading it so hears a pull request.

Objective

  • Input is generic over all T that implement Inputlike but in the impl block there's an additional check for T to implement Copy + Eq + Hash which is a strict subset of Inputlike

Solution

  • Remove the where condition

Any T that implements Intpulike also implements Copy + Eq + Hash
@alice-i-cecile alice-i-cecile merged commit 74b924e into alice-i-cecile:axis-button-split Feb 1, 2022
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