Fix failing tests

yoshuawuyts-patch-1
Stjepan Glavina 5 years ago
parent 504f8cb137
commit 5c1e0522b7

@ -843,6 +843,12 @@ impl AsRef<Path> for String {
}
}
impl AsRef<Path> for std::path::PathBuf {
fn as_ref(&self) -> &Path {
Path::new(self.into())
}
}
impl std::borrow::ToOwned for Path {
type Owned = PathBuf;

Loading…
Cancel
Save