We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cccce09 commit 1b94610Copy full SHA for 1b94610
src/libstd/io/buffered.rs
@@ -366,8 +366,9 @@ impl<R: Seek> Seek for BufReader<R> {
366
///
367
/// It is critical to call [`flush`] before `BufWriter<W>` is dropped. Though
368
/// dropping will attempt to flush the the contents of the buffer, any errors
369
-/// that happen in the process will be ignored. Calling ['flush'] ensures that
370
-/// the buffer is empty and all errors have been observed.
+/// that happen in the process of dropping will be ignored. Calling ['flush']
+/// ensures that the buffer is empty and thus dropping will not even attempt
371
+/// file operations.
372
373
/// # Examples
374
0 commit comments