mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-22 18:15:07 +03:00
91fd6283e6
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.