Skip to content

Commit

Permalink
clarified std::fs truncate doc
Browse files Browse the repository at this point in the history
Co-authored-by: nora <48135649+Noratrieb@users.noreply.github.com>
  • Loading branch information
yakiimoninja and Noratrieb authored Oct 28, 2024
1 parent 191aa70 commit d56ef5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/src/fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1197,7 +1197,7 @@ impl OpenOptions {

/// Sets the option for truncating a previous file.
///
/// If a file is successfully opened with this option set as true, it will truncate
/// If a file is successfully opened with this option set to true, it will truncate
/// the file to 0 length if it already exists.
///
/// The file must be opened with write access for truncate to work.
Expand Down

0 comments on commit d56ef5a

Please # to comment.