Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing TrieKey impls for paths on Windows #54

Open
michaelsproul opened this issue Nov 17, 2019 · 0 comments
Open

Missing TrieKey impls for paths on Windows #54

michaelsproul opened this issue Nov 17, 2019 · 0 comments

Comments

@michaelsproul
Copy link
Owner

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.

One solution might be to use the OsStr::to_string_lossy function.

michaelsproul added a commit that referenced this issue Nov 17, 2019
See #54 for a long-term resolution
michaelsproul added a commit that referenced this issue Nov 17, 2019
See #54 for a long-term resolution
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant