Closed
Description
openedon Nov 13, 2019
#66248 added a raw pointer variant of UnsafeCell::get
.
Unresolved issues:
- This definitely wants to be a method --
m.as_ptr().raw_get().write(5)
is so much more readable thanUnsafeCell::raw_get(m.as_ptr()).write(5)
. Also see add raw ptr variant of UnsafeCell::get #66248 (comment).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
Area: raw pointers, MaybeUninit, NonNullBlocker: Implemented in the nightly compiler and unstable.Category: A tracking issue for an RFC or an unstable feature.Libs issues that are tracked on the team's project board.Status: Awaiting decision from the relevant subteam (see the T-<team> label).Relevant to the library API team, which will review and decide on the PR/issue.This issue / PR is in PFCP or FCP with a disposition to merge it.The final comment period is finished for this PR / Issue.This issue requires a nightly compiler in some way.