mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
935805e80a
Add missing safety doc for CString::from_vec_unchecked and async_drop_in_place Add missing safety documentation for two unsafe APIs: * `CString::from_vec_unchecked` – # Safety: the caller must ensure `v` contains no NUL bytes in its contents. * `async_drop_in_place` – # Safety: see [`ptr::drop_in_place`] for safety requirements.