File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -21,10 +21,9 @@ use crate::time::SystemTime;
2121/// it was opened with. Files also implement [`Seek`] to alter the logical cursor
2222/// that the file contains internally.
2323///
24- /// Files are automatically closed when they go out of scope. All errors are
25- /// ignored due to complications with correctly handling them. For instance, an
26- /// error in closing a file could mean that closing failed, or that the file had
27- /// an error before closing that was only unearthed by closing the file.
24+ /// Files are automatically closed when they go out of scope. Errors detected
25+ /// on closing are ignored by the implementation of `Drop`. Use the method
26+ /// `sync_all` if these errors must be manually handled.
2827///
2928/// # Examples
3029///
You can’t perform that action at this time.
0 commit comments