Skip to content

Commit

Permalink
Rollup merge of #130513 - shekhirin:fs-write-doc-comment, r=cuviper
Browse files Browse the repository at this point in the history
Clarify docs for std::fs::File::write

This PR fixes the doc comment for `std::fs::File::write` method.
  • Loading branch information
workingjubilee authored Sep 18, 2024
2 parents d972605 + 96a3b48 commit 4d9ce4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/std/src/fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
///
Expand Down

0 comments on commit 4d9ce4b

Please sign in to comment.