Lint request: unbuffered I/O usage #1805
Labels
A-lint
Area: New lints
E-hard
Call for participation: This a hard problem and requires more experience or effort to work on
E-medium
Call for participation: Medium difficulty level problem and requires some initial experience.
L-perf
Lint: Belongs in the perf lint group
T-middle
Type: Probably requires verifiying types
I and several other beginners have run into the surprising issue that Rust's default file reading and writing methods are unbuffered and buffered IO is purely opt-in with this language. It may be useful to add a lint to warn users about this, as it seems to come up from time to time when comparing programs to other languages such as Python.
The text was updated successfully, but these errors were encountered: