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. |
||
|---|---|---|
| .. | ||
| c_str.rs | ||
| mod.rs | ||
| os_str.rs | ||