We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 423d4f0 + 5910a4f commit 29a7ca9Copy full SHA for 29a7ca9
library/std/src/fs.rs
@@ -1197,7 +1197,7 @@ impl OpenOptions {
1197
1198
/// Sets the option for truncating a previous file.
1199
///
1200
- /// If a file is successfully opened with this option set it will truncate
+ /// If a file is successfully opened with this option set to true, it will truncate
1201
/// the file to 0 length if it already exists.
1202
1203
/// The file must be opened with write access for truncate to work.
0 commit comments