about summary refs log tree commit diff
path: root/tests/ui/patchable-function-entry/patchable-function-entry-flags.rs
diff options
context:
space:
mode:
authorriverbl <94326797+riverbl@users.noreply.github.com>2024-01-07 13:58:39 +0000
committerriverbl <94326797+riverbl@users.noreply.github.com>2024-01-18 20:38:31 +0000
commita0fcc8ebc0793afd66be06db3c338b0b4d43fe3c (patch)
treecc04ad8b33cb15e27dd409f9018af803f403e5b3 /tests/ui/patchable-function-entry/patchable-function-entry-flags.rs
parent8424f8e8cdf07010967a57584fd647b30e930d4d (diff)
downloadrust-a0fcc8ebc0793afd66be06db3c338b0b4d43fe3c.tar.gz
rust-a0fcc8ebc0793afd66be06db3c338b0b4d43fe3c.zip
Add `display` method to `OsStr`
Add `display` method to `OsStr` for lossy display of an `OsStr` which may contain invalid unicode.

Invalid Unicode sequences are replaced with `U+FFFD REPLACEMENT CHARACTER`.

This change also makes the `std::ffi::os_str` module public.
Diffstat (limited to 'tests/ui/patchable-function-entry/patchable-function-entry-flags.rs')
0 files changed, 0 insertions, 0 deletions