File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -292,8 +292,8 @@ 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:: Display :: fmt ( & it , f) ,
296
- VfsPathRepr :: VirtualPath ( VirtualPath ( it) ) => fmt:: Display :: fmt ( it , f) ,
295
+ VfsPathRepr :: PathBuf ( it) => it . fmt ( f) ,
296
+ VfsPathRepr :: VirtualPath ( VirtualPath ( it) ) => it . fmt ( f) ,
297
297
}
298
298
}
299
299
}
@@ -307,8 +307,8 @@ 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:: Debug :: fmt ( & it , f) ,
311
- VfsPathRepr :: VirtualPath ( VirtualPath ( it) ) => fmt:: Debug :: fmt ( & it , f) ,
310
+ VfsPathRepr :: PathBuf ( it) => it . fmt ( f) ,
311
+ VfsPathRepr :: VirtualPath ( VirtualPath ( it) ) => it . fmt ( f) ,
312
312
}
313
313
}
314
314
}
You can’t perform that action at this time.
0 commit comments