Skip to content

Commit

Permalink
Unrolled build for rust-lang#130513
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#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.
  • Loading branch information
rust-timer authored Sep 19, 2024
2 parents f79a912 + 96a3b48 commit 8a3110b
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 8a3110b

Please sign in to comment.