Rollup merge of #33993 - oconnor663:filedocs, r=alexcrichton
document that Files close themselves automatically
This commit is contained in:
commit
1d9e713121
@ -32,6 +32,8 @@
|
||||
/// it was opened with. Files also implement `Seek` to alter the logical cursor
|
||||
/// that the file contains internally.
|
||||
///
|
||||
/// Files are automatically closed when they go out of scope.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
/// ```no_run
|
||||
|
Loading…
Reference in New Issue
Block a user