about summary refs log tree commit diff
path: root/src/fs.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs.rs')
-rwxr-xr-xsrc/fs.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs.rs b/src/fs.rs
index 8266053..e8044a0 100755
--- a/src/fs.rs
+++ b/src/fs.rs
@@ -114,7 +114,7 @@ impl Deref for PathResolution {
 
 impl fmt::Display for PathResolution {
 	fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
-		write!(f, "{}", *self)
+		write!(f, "{}", self.deref())
 	}
 }