diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2021-05-08 01:06:26 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-08 01:06:26 +0200 |
| commit | b5092627c75cde5c5bb99a1850633baf9aedd1a4 (patch) | |
| tree | cbf524ef27e3f5d4140a3a435c9f09cb74ff9196 /compiler/rustc_codegen_llvm/src | |
| parent | b4a00205d8487379c3534b72ecdf0d4d453b4a86 (diff) | |
| parent | d9a58f4c87acce4c413b6bfb93916823bafbd68b (diff) | |
| download | rust-b5092627c75cde5c5bb99a1850633baf9aedd1a4.tar.gz rust-b5092627c75cde5c5bb99a1850633baf9aedd1a4.zip | |
Rollup merge of #85044 - ChrisDenton:file-exists, r=jackh726
Use `path.exists()` instead of `fs::metadata(path).is_ok()` It's more explicit and potentially allows platforms to optimize the existence check.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
