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

Removing the extraneous not_equal implementation for slices #36310

Merged
merged 1 commit into from
Sep 8, 2016

Conversation

jstnlef
Copy link
Contributor

@jstnlef jstnlef commented Sep 7, 2016

Happened to stumble upon this one awhile back. Seemed a bit silly to have both the equals and not equals implementation when they're so similar.

@rust-highfive
Copy link
Collaborator

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @brson (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see the contribution instructions for more information.

@brson
Copy link
Contributor

brson commented Sep 7, 2016

This looks right to me but since it's removing specialization I'm a little unsure. @sfackler what do you think?

@jstnlef
Copy link
Contributor Author

jstnlef commented Sep 7, 2016

Removing specialization? I tried to keep it in there. Perhaps I made a mistake?

@brson
Copy link
Contributor

brson commented Sep 7, 2016

@jstnlef I should have been more precise. It looks to me like the generated code will still specialized via equals but not_equals itself is no longer a specialized.

@jstnlef
Copy link
Contributor Author

jstnlef commented Sep 7, 2016

Ah fair enough. That makes sense.

@sfackler
Copy link
Member

sfackler commented Sep 7, 2016

This seems reasonable to me

@sfackler
Copy link
Member

sfackler commented Sep 8, 2016

@bors r+

@bors
Copy link
Contributor

bors commented Sep 8, 2016

📌 Commit a77b55d has been approved by sfackler

@bors
Copy link
Contributor

bors commented Sep 8, 2016

⌛ Testing commit a77b55d with merge a5dbf8a...

bors added a commit that referenced this pull request Sep 8, 2016
…ackler

Removing the extraneous not_equal implementation for slices

Happened to stumble upon this one awhile back. Seemed a bit silly to have both the equals and not equals implementation when they're so similar.
@bors bors merged commit a77b55d into rust-lang:master Sep 8, 2016
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.

None yet

5 participants