Fix incorrect documented default bufsize in bufreader/writer
This commit is contained in:
parent
917b0b6c70
commit
5488a64654
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue