File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -292,7 +292,7 @@ impl From<AbsPathBuf> for VfsPath {
292
292
impl fmt:: Display for VfsPath {
293
293
fn fmt ( & self , f : & mut std:: fmt:: Formatter < ' _ > ) -> std:: fmt:: Result {
294
294
match & self . 0 {
295
- VfsPathRepr :: PathBuf ( it) => fmt:: Debug :: fmt ( & it, f) ,
295
+ VfsPathRepr :: PathBuf ( it) => fmt:: Display :: fmt ( & it, f) ,
296
296
VfsPathRepr :: VirtualPath ( VirtualPath ( it) ) => fmt:: Display :: fmt ( it, f) ,
297
297
}
298
298
}
@@ -307,7 +307,7 @@ impl fmt::Debug for VfsPath {
307
307
impl fmt:: Debug for VfsPathRepr {
308
308
fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
309
309
match & self {
310
- VfsPathRepr :: PathBuf ( it) => fmt:: Display :: fmt ( & it, f) ,
310
+ VfsPathRepr :: PathBuf ( it) => fmt:: Debug :: fmt ( & it, f) ,
311
311
VfsPathRepr :: VirtualPath ( VirtualPath ( it) ) => fmt:: Debug :: fmt ( & it, f) ,
312
312
}
313
313
}
You can’t perform that action at this time.
0 commit comments