With #62323 the only example (that had UB and was thus invalid) in std::ptr::read_unaligned and std::ptr::write_unaligned is removed.
We should add a valid example of using the aforementioned functions.
cc @rust-lang/wg-unsafe-code-guidelines
This issue has been assigned to @Freyskeyd via this comment.
With #62323 the only example (that had UB and was thus invalid) in
std::ptr::read_unalignedandstd::ptr::write_unalignedis removed.We should add a valid example of using the aforementioned functions.
cc @rust-lang/wg-unsafe-code-guidelines
This issue has been assigned to @Freyskeyd via this comment.