Fix infinite recursion converions

This commit is contained in:
Ian Manske 2024-06-20 21:53:03 -07:00
parent bfec1278b7
commit dc387f154d

View File

@ -924,7 +924,7 @@ impl<Form: PathForm> Deref for PathBuf<Form> {
#[inline]
fn deref(&self) -> &Self::Target {
self.as_ref()
self.as_path()
}
}