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

CellPtr and TaggedCellPtr can't be Copy because std::cell::Cell isn't copy #34

Open
pliniker opened this issue Jul 31, 2020 · 0 comments
Labels
easy Little experience and/or subject matter knowledge required good first issue Good for newcomers

Comments

@pliniker
Copy link
Member

pliniker commented Jul 31, 2020

This seems wrong. Since these types are just storing word-sized pointers and the behavior we want is to be able to copy them optimally, there should be no other reason why they can't be Copy.

There must be a crate out there that provides Cell mechanics while also being Copy, maybe we need to define our own.

@pliniker pliniker added good first issue Good for newcomers easy Little experience and/or subject matter knowledge required labels Jul 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
easy Little experience and/or subject matter knowledge required good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant