diff options
| author | Josh Triplett <josh@joshtriplett.org> | 2022-01-09 14:08:08 -0800 |
|---|---|---|
| committer | Mark Rousskov <mark.simulacrum@gmail.com> | 2022-01-10 17:35:17 -0500 |
| commit | c91ad5d0f251eb412e4db89fd929117ee970ea89 (patch) | |
| tree | 30f2ae75fd46cfe10cec076144f0d527ca916478 /compiler/rustc_llvm/llvm-wrapper | |
| parent | 89b9f7b284aacc5f8613438b80e4dd7bdd10549e (diff) | |
| download | rust-c91ad5d0f251eb412e4db89fd929117ee970ea89.tar.gz rust-c91ad5d0f251eb412e4db89fd929117ee970ea89.zip | |
Improve documentation for File::options to give a more likely example
`File::options().read(true).open(...)` is equivalent to just `File::open`. Change the example to set the `append` flag instead, and then change the filename to something more likely to be written in append mode.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper')
0 files changed, 0 insertions, 0 deletions
