document that Files close themselves automatically
This commit is contained in:
parent
298730e703
commit
8be9625e2e
1 changed files with 3 additions and 0 deletions
|
|
@ -32,6 +32,9 @@ use time::SystemTime;
|
|||
/// 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, so there is no
|
||||
/// explicit `close` method.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
/// ```no_run
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue