We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fefe816 commit abb704eCopy full SHA for abb704e
src/libstd/io/buffered.rs
@@ -61,7 +61,8 @@ pub struct BufReader<R> {
61
}
62
63
impl<R: Read> BufReader<R> {
64
- /// Creates a new `BufReader` with a default buffer capacity.
+ /// Creates a new `BufReader` with a default buffer capacity. The default is currently 8 KB,
65
+ /// but may change in the future.
66
///
67
/// # Examples
68
@@ -454,7 +455,8 @@ pub struct BufWriter<W: Write> {
454
455
pub struct IntoInnerError<W>(W, Error);
456
457
impl<W: Write> BufWriter<W> {
- /// Creates a new `BufWriter` with a default buffer capacity.
458
+ /// Creates a new `BufWriter` with a default buffer capacity. The default is currently 8 KB,
459
460
461
462
0 commit comments