about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorChris Denton <christophersdenton@gmail.com>2021-05-07 17:32:40 +0100
committerChris Denton <christophersdenton@gmail.com>2021-05-07 17:32:40 +0100
commitd9a58f4c87acce4c413b6bfb93916823bafbd68b (patch)
tree6e47561c4a6448778ca9299b1fe68ca1dcd58195 /compiler/rustc_codegen_llvm/src
parente5f83d24aee866a14753a7cedbb4e301dfe5bef5 (diff)
downloadrust-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