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

Ask for an OsStr when converting between MdPath and RsPath. #21

Merged
merged 1 commit into from
Apr 27, 2018

Conversation

Screwtapello
Copy link
Contributor

Previously, std::Path::Component only implemented AsRef<OsStr>, so that's the only thing you could get when calling .as_ref(). As of Rust 1.24, it also implements AsRef<Path>, so we have to be more explicit.

Previously, `std::Path::Component` only implemented `AsRef<OsStr>`, so that's
the only thing you could get when calling `.as_ref()`. As of Rust 1.24, it also
implements `AsRef<Path>`, so we have to be more explicit.
@pnkfelix pnkfelix merged commit 2f1a768 into pnkfelix:master Apr 27, 2018
@Screwtapello Screwtapello deleted the fix-for-rust-1.24 branch April 27, 2018 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants