Rollup merge of #33993 - oconnor663:filedocs, r=alexcrichton

document that Files close themselves automatically
This commit is contained in:
Guillaume Gomez 2016-06-02 13:47:07 +02:00
commit 1d9e713121

View File

@ -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