Skip to content

Commit

Permalink
Auto merge of #130803 - cuviper:file-buffered, r=joshtriplett
Browse files Browse the repository at this point in the history
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: rust-lang/libs-team#446
Tracking Issue: #130804
  • Loading branch information
bors committed Sep 25, 2024
2 parents 8469226 + 789bfcc commit d8e6288
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit d8e6288

Please sign in to comment.