-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Rc and Arc should be marked #[fundamental] #24317
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
Comments
(I'm not sure I agree with the assertion made here, but it seems like it would be good to talk about it, and then either improve the docs to explain why one should not, or actually do it.) |
|
My feeling is that making If we do decide the fundamental IS the scheme we want, then I would probably apply it to:
These would be generalization of the existing types ( |
I definitely don't think we should make this step just for the sake of uniformity. As @nikomatsakis alludes to, we probably want to drop |
I've been wanting this several times recently when implementing some traits with functions which take While I understand the justification for wanting to avoid |
I keep coming back to this and am pretty confident that, given that |
Make Rc and Arc #[fundamental] Fixes #24317. r? @alexcrichton and @rust-lang/libs
It feels like with |
Box
is already, so I think all other pointer types probably should be too.The text was updated successfully, but these errors were encountered: