Skip to content

Remove dead recursive partial eq impl #39380

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
Jan 29, 2017
Merged

Conversation

est31
Copy link
Member

@est31 est31 commented Jan 29, 2017

Its nowhere used (if it had been used used, the rust stack would have overflown
due to the recursion). Its presence was confusing for mrustc.

cc @thepowersgang

Its nowhere used (if it had been used used, the rust stack would have overflown
due to the recursion). Its presence was confusing for mrustc.
@rust-highfive
Copy link
Contributor

r? @eddyb

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

@est31
Copy link
Member Author

est31 commented Jan 29, 2017

See also the paste made by @niconii that demonstrates the effects if actually were used: https://is.gd/6pnMv4

@jseyfried
Copy link
Contributor

Thanks! @bors r+

@bors
Copy link
Collaborator

bors commented Jan 29, 2017

📌 Commit 7ed78fc has been approved by jseyfried

@bors
Copy link
Collaborator

bors commented Jan 29, 2017

⌛ Testing commit 7ed78fc with merge b37edea...

bors added a commit that referenced this pull request Jan 29, 2017
Remove dead recursive partial eq impl

Its nowhere used (if it had been used used, the rust stack would have overflown
due to the recursion). Its presence was confusing for mrustc.

cc @thepowersgang
@bors
Copy link
Collaborator

bors commented Jan 29, 2017

☀️ Test successful - status-appveyor, status-travis
Approved by: jseyfried
Pushing b37edea to master...

@bors bors merged commit 7ed78fc into rust-lang:master Jan 29, 2017
@eddyb
Copy link
Member

eddyb commented Jan 29, 2017

The correct fix was to use &self[..] == &other[..].

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