Open michaelsproul opened 4 years ago
Due to OsStrings not losslessly converting to UTF-8 (and therefore bytes) on Windows (see SO, Rust docs), we are currently missing an implementation of TrieKey for Path/PathBuf.
OsString
TrieKey
Path
PathBuf
One solution might be to use the OsStr::to_string_lossy function.
OsStr::to_string_lossy
Due to
OsString
s not losslessly converting to UTF-8 (and therefore bytes) on Windows (see SO, Rust docs), we are currently missing an implementation ofTrieKey
forPath
/PathBuf
.One solution might be to use the
OsStr::to_string_lossy
function.