Closed
Description
Location
Primitive type pointer
core::ptr::read_unaligned
core::ptr::write_unaligned
Summary
The above documentation pages suggest using ptr::addr_of
and ptr::addr_of_mut
respectively, but the pages for those macros recommend using &raw const
and &raw mut
instead.
Metadata
Metadata
Assignees
Labels
Area: Documentation for any part of the project, including the compiler, standard library, and toolsCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Libs issues that are considered "small" or self-containedRelevant to the library team, which will review and decide on the PR/issue.