Fix incorrect documented default bufsize in bufreader/writer

This commit is contained in:
Kathryn R 2023-05-26 13:39:10 -07:00
parent 917b0b6c70
commit 5488a64654
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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