rust/src/libstd/ffi
Ralf Jung ec6fe42dd4
Rollup merge of #73139 - poliorcetics:cstring-from-vec-with-nul, r=dtolnay
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.
2020-06-15 12:01:09 +02:00
..
c_str.rs Rollup merge of #73139 - poliorcetics:cstring-from-vec-with-nul, r=dtolnay 2020-06-15 12:01:09 +02:00
mod.rs Add a new error type for the new method 2020-06-14 23:21:40 +02:00
os_str.rs Auto merge of #71447 - cuviper:unsized_cow, r=dtolnay 2020-05-19 08:08:48 +00:00