diff options
| author | Kathryn R <katy_x90@protonmail.com> | 2023-05-26 13:39:10 -0700 |
|---|---|---|
| committer | Kathryn R <katy_x90@protonmail.com> | 2023-05-26 13:39:10 -0700 |
| commit | 5488a64654d34530ecc3c512c8b87361faea137f (patch) | |
| tree | 791f07ed59ca345c255849ac631ea79449535c5f | |
| parent | 917b0b6c70f078cb08bbb0080c9379e4487353c3 (diff) | |
| download | rust-5488a64654d34530ecc3c512c8b87361faea137f.tar.gz rust-5488a64654d34530ecc3c512c8b87361faea137f.zip | |
Fix incorrect documented default bufsize in bufreader/writer
| -rw-r--r-- | library/std/src/io/buffered/bufreader.rs | 2 | ||||
| -rw-r--r-- | library/std/src/io/buffered/bufwriter.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/library/std/src/io/buffered/bufreader.rs b/library/std/src/io/buffered/bufreader.rs index 4f339a18a48..0cc63dcb47d 100644 --- a/library/std/src/io/buffered/bufreader.rs +++ b/library/std/src/io/buffered/bufreader.rs @@ -53,7 +53,7 @@ pub struct BufReader<R> { } impl<R: Read> BufReader<R> { - /// Creates a new `BufReader<R>` with a default buffer capacity. The default is currently 8 KB, + /// Creates a new `BufReader<R>` with a default buffer capacity. The default is currently 8 KiB, /// but may change in the future. /// /// # Examples diff --git a/library/std/src/io/buffered/bufwriter.rs b/library/std/src/io/buffered/bufwriter.rs index 14c455d4fa3..aac52ec3540 100644 --- a/library/std/src/io/buffered/bufwriter.rs +++ b/library/std/src/io/buffered/bufwriter.rs @@ -81,7 +81,7 @@ pub struct BufWriter<W: Write> { } impl<W: Write> BufWriter<W> { - /// Creates a new `BufWriter<W>` with a default buffer capacity. The default is currently 8 KB, + /// Creates a new `BufWriter<W>` with a default buffer capacity. The default is currently 8 KiB, /// but may change in the future. /// /// # Examples |
