File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -982,7 +982,10 @@ impl OpenOptions {
982
982
/// single `write()` call depends on the operating system and file system. A
983
983
/// successful `write()` is allowed to write only part of the given data, so even if
984
984
/// you're careful to provide the whole message in a single call to `write()`, there
985
- /// is no guarantee that it will written out in full.
985
+ /// is no guarantee that it will written out in full. If you rely on the filesystem
986
+ /// accepting the message in a single write, make sure that all data that belongs
987
+ /// together is written in one operation. This can be done by concatenating strings
988
+ /// before passing them to [`write()`].
986
989
///
987
990
/// If a file is opened with both read and append access, beware that after
988
991
/// opening, and after every write, the position for reading may be set at the
You can’t perform that action at this time.
0 commit comments