mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-04 09:44:40 +00:00
The WTF-8 version of `OsString` tracks whether it is known to be valid UTF-8 with its `is_known_utf8` field. Specialize `From<AsRef<OsStr>>` so this can be set for UTF-8 string types.