Commit d9a58f4
committed
Use
It's more explicit and allows platforms to optimize the existence check.path.exists() instead of fs::metadata(path).is_ok()
1 parent e5f83d2 commit d9a58f4
File tree
2 files changed
+2
-2
lines changed- compiler
- rustc_codegen_ssa/src/back
- rustc_span/src
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
764 | 764 | | |
765 | 765 | | |
766 | 766 | | |
767 | | - | |
| 767 | + | |
768 | 768 | | |
769 | 769 | | |
770 | 770 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
| 112 | + | |
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| |||
0 commit comments