mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-22 02:00:00 +03:00
ec6fe42dd4
Add methods to go from a nul-terminated Vec<u8> to a CString Fixes #73100. Doc tests have been written and the documentation on the error type updated too. I used `#[stable(feature = "cstring_from_vec_with_nul", since = "1.46.0")]` but I don't know if the version is correct.