File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -82,12 +82,12 @@ use time::SystemTime;
82
82
/// ```
83
83
///
84
84
/// 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.
88
88
/// 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.
91
91
///
92
92
/// [`Seek`]: ../io/trait.Seek.html
93
93
/// [`String`]: ../string/struct.String.html
You can’t perform that action at this time.
0 commit comments