We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07d3508 commit f48a5dcCopy full SHA for f48a5dc
src/libstd/fs.rs
@@ -21,7 +21,10 @@ use crate::time::SystemTime;
21
/// it was opened with. Files also implement [`Seek`] to alter the logical cursor
22
/// that the file contains internally.
23
///
24
-/// Files are automatically closed when they go out of scope.
+/// 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.
28
29
/// # Examples
30
0 commit comments