diff options
| author | Jubilee <workingjubilee@gmail.com> | 2024-09-18 14:32:27 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-18 14:32:27 -0700 |
| commit | 4d9ce4b4b3d16b3e788ea4e8cafd28f812aad8ac (patch) | |
| tree | b0d68bb3ce54fd89a7d74b5ea5b836358373b28d | |
| parent | d972605735c70bf98280253967c2ec727fa040dd (diff) | |
| parent | 96a3b48197a3febc55d2746526b67f515ad5fad1 (diff) | |
| download | rust-4d9ce4b4b3d16b3e788ea4e8cafd28f812aad8ac.tar.gz rust-4d9ce4b4b3d16b3e788ea4e8cafd28f812aad8ac.zip | |
Rollup merge of #130513 - shekhirin:fs-write-doc-comment, r=cuviper
Clarify docs for std::fs::File::write This PR fixes the doc comment for `std::fs::File::write` method.
| -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 6a0d9f47960..abf7d5d294a 100644 --- a/library/std/src/fs.rs +++ b/library/std/src/fs.rs @@ -835,7 +835,7 @@ impl Read for &File { } #[stable(feature = "rust1", since = "1.0.0")] impl Write for &File { - /// Writes some bytes from the file. + /// Writes some bytes to the file. /// /// See [`Write::write`] docs for more info. /// |
