Hacker News new | ask | show | jobs
by SimonSapin 4040 days ago
Yes. For example, this allows the Rust standard library to convert &str (UTF-8) to &std::ffi::OsStr (WTF-8 on Windows) without converting or even copying data.