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

Remove all uses of &Root<T> #11522

Merged
merged 3 commits into from Jun 1, 2016
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Prev

Avoid a literal "&Root<T>" in its PartialEq impl

  • Loading branch information
nox committed May 31, 2016
commit 919a4774dd1a77318bb0cb918c6c53beef1413b9
@@ -601,7 +601,7 @@ impl<T: Reflectable> Deref for Root<T> {
}

impl<T: Reflectable> PartialEq for Root<T> {
fn eq(&self, other: &Root<T>) -> bool {
fn eq(&self, other: &Self) -> bool {
self.ptr == other.ptr
}
}
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.