Fix infinite recursion converions
This commit is contained in:
parent
bfec1278b7
commit
dc387f154d
|
@ -924,7 +924,7 @@ impl<Form: PathForm> Deref for PathBuf<Form> {
|
|||
|
||||
#[inline]
|
||||
fn deref(&self) -> &Self::Target {
|
||||
self.as_ref()
|
||||
self.as_path()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user