Skip to content

Commit

Permalink
Rollup merge of rust-lang#130513 - shekhirin:fs-write-doc-comment, r=…
Browse files Browse the repository at this point in the history
…cuviper

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 66df252 + 96a3b48 commit f0dc481
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 f0dc481

Please sign in to comment.