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());
```
|
||
|---|---|---|
| .. | ||
| os_str | ||
| mod.rs | ||
| os_str.rs | ||