about summary refs log tree commit diff
path: root/src/rustllvm/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2020-06-27 22:29:52 -0700
committerGitHub <noreply@github.com>2020-06-27 22:29:52 -0700
commit6a944c15ab87ae6a2cb4a22b4781f39b8955031b (patch)
tree74342f37d97cbb30c1cbb053efec5dd281ddb9db /src/rustllvm/CoverageMappingWrapper.cpp
parent385d85c858863e9dee88c4d65d4016599c4323d7 (diff)
parent8e8c54aa3a8d92d8443ec4596754d14b2d196899 (diff)
downloadrust-6a944c15ab87ae6a2cb4a22b4781f39b8955031b.tar.gz
rust-6a944c15ab87ae6a2cb4a22b4781f39b8955031b.zip
Rollup merge of #73243 - poliorcetics:discourage-is-file, r=Amanieu
Add documentation to point to `File::open` or `OpenOptions::open` instead of `is_file` to check read/write possibility

Fixes #64170.

This adds documentation to point user towards `!is_dir` instead of `is_file` when all they want to is read from a source.

I ran `rg "fn is_file\("` to find all `is_file` methods, I hope I did not miss one.
Diffstat (limited to 'src/rustllvm/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions