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 T: Trace bound from GcCellRef<T>; add GcCellRef::clone #118

Merged
merged 2 commits into from
Jan 3, 2021

Conversation

andersk
Copy link
Collaborator

@andersk andersk commented Jan 3, 2021

The T: Trace bound unnecessarily prohibited some valid uses of GcCellRef::map (with #[unsafe_ignore_trace]).

I wanted to remove T: Trace from GcCellRefMut<T> too, but it currently uses T: Trace in a way that seems to be incorrect (#117).

This bound unnecessarily prohibited some valid uses of GcCellRef::map.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
@Manishearth Manishearth merged commit 38ce2c7 into Manishearth:master Jan 3, 2021
@andersk andersk deleted the GcCellRef branch April 3, 2021 21:50
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