File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -82,12 +82,12 @@ use time::SystemTime;
8282/// ```
8383///
8484/// Note that, although read and write methods require a `&mut File`, because
85- /// of the interfaces for [`Read`] and [`Write`], it is still possible to
86- /// modify a file through a `&File` , either through methods that take `&File`
87- /// or by retrieving a raw OS filehandle and modifying the file that way.
85+ /// of the interfaces for [`Read`] and [`Write`], the holder of a `&File` can
86+ /// still modify the file, either through methods that take `&File` or by
87+ /// retrieving the underlying OS object and modifying the file that way.
8888/// Additionally, many operating systems allow concurrent modification of files
89- /// by different processes. Care should be taken not to assume that holding a
90- /// `&File` means that the file will not change.
89+ /// by different processes. Avoid assuming that holding a `&File` means that the
90+ /// file will not change.
9191///
9292/// [`Seek`]: ../io/trait.Seek.html
9393/// [`String`]: ../string/struct.String.html
You can’t perform that action at this time.
0 commit comments