about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorTobias Bucher <tobiasbucher5991@gmail.com>2022-06-09 14:27:01 +0200
committerTobias Bucher <tobiasbucher5991@gmail.com>2022-06-09 14:27:01 +0200
commit89f41839e4942a051305c62c0ea78e18d9b401f7 (patch)
tree7cd09480bdd1ef4ea8292304d497db2c26a6b82b /src/test/codegen/src-hash-algorithm
parent6dc598a01b8f7619826b7152be5162e6d37a1754 (diff)
downloadrust-89f41839e4942a051305c62c0ea78e18d9b401f7.tar.gz
rust-89f41839e4942a051305c62c0ea78e18d9b401f7.zip
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());
```
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions