diff options
| author | Chris Denton <christophersdenton@gmail.com> | 2021-05-07 17:32:40 +0100 |
|---|---|---|
| committer | Chris Denton <christophersdenton@gmail.com> | 2021-05-07 17:32:40 +0100 |
| commit | d9a58f4c87acce4c413b6bfb93916823bafbd68b (patch) | |
| tree | 6e47561c4a6448778ca9299b1fe68ca1dcd58195 /compiler/rustc_codegen_llvm/src | |
| parent | e5f83d24aee866a14753a7cedbb4e301dfe5bef5 (diff) | |
| download | rust-d9a58f4c87acce4c413b6bfb93916823bafbd68b.tar.gz rust-d9a58f4c87acce4c413b6bfb93916823bafbd68b.zip | |
Use `path.exists()` instead of `fs::metadata(path).is_ok()`
It's more explicit and allows platforms to optimize the existence check.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
