about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2022-01-09 14:08:08 -0800
committerMark Rousskov <mark.simulacrum@gmail.com>2022-01-10 17:35:17 -0500
commitc91ad5d0f251eb412e4db89fd929117ee970ea89 (patch)
tree30f2ae75fd46cfe10cec076144f0d527ca916478 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent89b9f7b284aacc5f8613438b80e4dd7bdd10549e (diff)
downloadrust-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/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions