Skip to content

Remove one level of indirection for slice-based PartialEq impls #28792

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

Merged
merged 1 commit into from
Oct 2, 2015

Conversation

dotdash
Copy link
Contributor

@dotdash dotdash commented Oct 1, 2015

Using the comparison operators already refs the operands, so doing it
ourselves as well just adds an unnecessary level of indirection.

Using the comparison operators already refs the operands, so doing it
ourselves as well just adds an unnecessary level of indirection.
@rust-highfive
Copy link
Contributor

r? @aturon

(rust_highfive has picked a reviewer for you, use r? to override)

@alexcrichton
Copy link
Member

@bors: r+ 8a959ad

@bors
Copy link
Collaborator

bors commented Oct 2, 2015

⌛ Testing commit 8a959ad with merge 7643c4c...

bors added a commit that referenced this pull request Oct 2, 2015
Using the comparison operators already refs the operands, so doing it
ourselves as well just adds an unnecessary level of indirection.
@bors bors merged commit 8a959ad into rust-lang:master Oct 2, 2015
@dotdash dotdash deleted the cmp_indirection branch January 31, 2016 15:28
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.

5 participants