We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e14ef0 commit a16e0e2Copy full SHA for a16e0e2
src/libstd/fs.rs
@@ -422,6 +422,11 @@ impl OpenOptions {
422
/// This option, when true, means that writes will append to a file instead
423
/// of overwriting previous contents.
424
///
425
+ /// Note that this isn't the same as `write` with the cursor starting at
426
+ /// the end of the file; this mode only allows writing to the end of the
427
+ /// file, but not changing any of its previous contents. This is common for
428
+ /// things like log files.
429
+ ///
430
/// # Examples
431
432
/// ```no_run
0 commit comments