rust/library/std/src/ffi
Yuki Okushi 48cf43b752
Rollup merge of #97915 - tbu-:pr_os_string_fmt_write, r=joshtriplett
Implement `fmt::Write` for `OsString`

This allows to format into an `OsString` without unnecessary
allocations. E.g.

```
let mut temp_filename = path.into_os_string();
write!(&mut temp_filename, ".tmp.{}", process::id());
```
2022-07-17 13:08:48 +09:00
..
os_str Implement [OsStr]::join 2022-05-09 22:11:25 +02:00
mod.rs Stabilize core::ffi::CStr, alloc::ffi::CString, and friends 2022-07-15 03:10:35 -07:00
os_str.rs Rollup merge of #97915 - tbu-:pr_os_string_fmt_write, r=joshtriplett 2022-07-17 13:08:48 +09:00