diff options
| author | yakiimoninja <80072600+yakiimoninja@users.noreply.github.com> | 2024-10-28 17:14:15 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-28 17:14:15 +0000 |
| commit | 5910a4f1bce6f98cf5a0692478b2e09bbb734ce2 (patch) | |
| tree | 27c7c7d7085a639a1dedb81d8c494bb18c49c057 /library/std | |
| parent | a9467214084402e09c3363c4ec1afcc8caf32715 (diff) | |
| download | rust-5910a4f1bce6f98cf5a0692478b2e09bbb734ce2.tar.gz rust-5910a4f1bce6f98cf5a0692478b2e09bbb734ce2.zip | |
clarified std::fs truncate doc
Co-authored-by: nora <48135649+Noratrieb@users.noreply.github.com>
Diffstat (limited to 'library/std')
| -rw-r--r-- | library/std/src/fs.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/fs.rs b/library/std/src/fs.rs index 5229925ceed..3079c8b1d90 100644 --- a/library/std/src/fs.rs +++ b/library/std/src/fs.rs @@ -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. |
