clarify that not all errors are observed
This commit is contained in:
parent
cccce09dda
commit
1b946106b7
1 changed files with 3 additions and 2 deletions
|
@ -366,8 +366,9 @@ impl<R: Seek> Seek for BufReader<R> {
|
||||||
///
|
///
|
||||||
/// It is critical to call [`flush`] before `BufWriter<W>` is dropped. Though
|
/// It is critical to call [`flush`] before `BufWriter<W>` is dropped. Though
|
||||||
/// dropping will attempt to flush the the contents of the buffer, any errors
|
/// dropping will attempt to flush the the contents of the buffer, any errors
|
||||||
/// that happen in the process will be ignored. Calling ['flush'] ensures that
|
/// that happen in the process of dropping will be ignored. Calling ['flush']
|
||||||
/// the buffer is empty and all errors have been observed.
|
/// ensures that the buffer is empty and thus dropping will not even attempt
|
||||||
|
/// file operations.
|
||||||
///
|
///
|
||||||
/// # Examples
|
/// # Examples
|
||||||
///
|
///
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue