about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-02-17 23:00:58 +0100
committerGitHub <noreply@github.com>2022-02-17 23:00:58 +0100
commit09350d2cf0bc3d931b47dfc4fdee69e76a0a50ad (patch)
tree103b9e843b3b61c952e6af3d93c1dbbc1702a5ae /src/test/codegen/src-hash-algorithm
parent6a2b612590284f2e8fc08117c976e017ddd79d81 (diff)
parent80fde23a75513b498f95051719b2c8e0e3afecc4 (diff)
downloadrust-09350d2cf0bc3d931b47dfc4fdee69e76a0a50ad.tar.gz
rust-09350d2cf0bc3d931b47dfc4fdee69e76a0a50ad.zip
Rollup merge of #93976 - SUPERCILEX:separator_str, r=yaahc
Add MAIN_SEPARATOR_STR

Currently, if someone needs access to the path separator as a str, they need to go through this mess:

```rust
unsafe {
    std::str::from_utf8_unchecked(slice::from_ref(&(MAIN_SEPARATOR as u8)))
}
```

This PR just re-exports an existing path separator str API.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions