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

Removed unnecessary PartialEq constraint from some stream trait impls. #314

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

johnw42
Copy link

@johnw42 johnw42 commented Jun 3, 2021

Also added unit test to verify the impls work for types that don't implement PartialEq.

The specific use case I wanted to support was to run a parser on a SliceStream<proc_macro2::TokenTree>, but I believe the constraints I removed are just generally unnecessary.

Also added unit test to verify the impls work for types that don't implement PartialEq.
Copy link
Owner

@Marwes Marwes left a comment

Choose a reason for hiding this comment

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

Thanks! I have fixed the CI build on master so if you rebase it should pass now.

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.

3 participants