Skip to content

Commit 4d9ce4b

Browse files
authoredSep 18, 2024
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.
2 parents d972605 + 96a3b48 commit 4d9ce4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎library/std/src/fs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -835,7 +835,7 @@ impl Read for &File {
835835
}
836836
#[stable(feature = "rust1", since = "1.0.0")]
837837
impl Write for &File {
838-
/// Writes some bytes from the file.
838+
/// Writes some bytes to the file.
839839
///
840840
/// See [`Write::write`] docs for more info.
841841
///

0 commit comments

Comments
 (0)
Please sign in to comment.