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

std::borrow: Use raw pointer comparison for ref_eq #9292

Merged
merged 1 commit into from
Sep 19, 2013
Merged

std::borrow: Use raw pointer comparison for ref_eq #9292

merged 1 commit into from
Sep 19, 2013

Conversation

bluss
Copy link
Member

@bluss bluss commented Sep 18, 2013

std::borrow: Use raw pointer comparison for ref_eq

Compare as *T in ref_eq instead of casting to uint, to match what
std::ptr does.

Compare as `*T` in `ref_eq` instead of casting to uint, to match what
std::ptr does.
bors added a commit that referenced this pull request Sep 19, 2013
std::borrow: Use raw pointer comparison for `ref_eq`

Compare as `*T` in `ref_eq` instead of casting to uint, to match what
std::ptr does.
@bors bors closed this Sep 19, 2013
@bors bors merged commit 7024a9d into rust-lang:master Sep 19, 2013
@bluss bluss deleted the borrow-ref-eq branch September 19, 2013 13:38
flip1995 pushed a commit to flip1995/rust that referenced this pull request Aug 11, 2022
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.

2 participants