mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 14:31:55 +00:00
4c62024cd5
Add `File` constructors that return files wrapped with a buffer In addition to the light convenience, these are intended to raise visibility that buffering is something you should consider when opening a file, since unbuffered I/O is a common performance footgun to Rust newcomers. ACP: https://github.com/rust-lang/libs-team/issues/446 Tracking Issue: #130804 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
messages.ftl |