rust/src/libstd/ffi
Andrea Bedini 0f8fc2cb8b Improve CStr::from_ptr example in docs
Documentation of `CStr::from_ptr` suggests using `str::from_utf8(slice.to_bytes()).unwrap()`
to obtain a `&str` but `CStr` has `CStr::to_str` that does exactly that.
2016-01-19 16:29:53 +11:00
..
c_str.rs Improve CStr::from_ptr example in docs 2016-01-19 16:29:53 +11:00
mod.rs Owned conversions for CString 2015-10-19 01:29:44 -04:00
os_str.rs Move os_str docs to OsString in order to be visible in HTML (fixes #30743) 2016-01-07 16:12:38 +01:00