about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-11-02 18:22:32 +0000
committerbors <bors@rust-lang.org>2019-11-02 18:22:32 +0000
commit91fd6283e658e2c7aab2d3f5206fc1891f486af2 (patch)
tree1e71751ab28df6aa303cc676168175a8257e7dc1 /src/rustllvm/RustWrapper.cpp
parentf39205b5d9825fcf35989b5a04d115d411175d18 (diff)
parentc8150cb1594af7f3c2fe4b3968809637ca274260 (diff)
downloadrust-91fd6283e658e2c7aab2d3f5206fc1891f486af2.tar.gz
rust-91fd6283e658e2c7aab2d3f5206fc1891f486af2.zip
Auto merge of #65429 - Timmmm:withoptions, r=Mark-Simulacrum
Add File::with_options

This provides a more fluent API to create files with options, and also avoids the need to import OpenOptions.

This implements @aldanor's [suggestion](https://github.com/rust-lang/rfcs/pull/2615#issuecomment-448591304) which was popular.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions