File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 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 {
292292impl fmt:: Display for VfsPath {
293293 fn fmt ( & self , f : & mut std:: fmt:: Formatter < ' _ > ) -> std:: fmt:: Result {
294294 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) ,
297297 }
298298 }
299299}
@@ -307,8 +307,8 @@ impl fmt::Debug for VfsPath {
307307impl fmt:: Debug for VfsPathRepr {
308308 fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
309309 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) ,
312312 }
313313 }
314314}
You can’t perform that action at this time.
0 commit comments