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

Fixed Gc::clone, implemented Gc::ptr_eq #11369

Merged
merged 1 commit into from
Jan 9, 2014
Merged

Conversation

kvark
Copy link
Contributor

@kvark kvark commented Jan 7, 2014

-Fixed Gc::clone to not require a Clone implementation for T
-Implemented Gc::ptr_eq to match Rc::ptr_eq, added a test for that

};
//let mut reader = ErroringLaterReader {
//count: 0,
//};
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this commented out?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This entire test is sadly all commented out, the variable wasn't being used at all.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As the next-line comment says: // FIXME (#7049): Figure out some other way to do this.

@kvark
Copy link
Contributor Author

kvark commented Jan 7, 2014

Because the reader is not used anywhere in this function, everything else is commented out with a comment:
// FIXME (#7049): Figure out some other way to do this.
Whoever uncomments the logic will also uncomment the creation of the reader.

bors added a commit that referenced this pull request Jan 9, 2014
-Fixed Gc::clone to not require a Clone implementation for T
-Implemented Gc::ptr_eq to match Rc::ptr_eq, added a test for that
@bors bors closed this Jan 9, 2014
@bors bors merged commit 5da1663 into rust-lang:master Jan 9, 2014
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