mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-02 00:07:42 +03:00
a0fcc8ebc0
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.