mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 05:57:03 +03:00
3f7ccb4cf5
Document unsafety in core::slice::memchr Contributes to #66219 Note sure if that's good enough, especially for the `align_to` call. The docs only mention transmuting and I don't think that everything related to reference lifetimes and state validity mentioned in the [nomicon](https://doc.rust-lang.org/nomicon/transmutes.html) are relevant here.