Rollup merge of #130513 - shekhirin:fs-write-doc-comment, r=cuviper · qinheping/verify-rust-std@8a9576c (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Commit 8a9576c

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.

File tree

1 file changed

lines changed

1 file changed

lines changed

Original file line number Diff line number Diff line change
@@ -835,7 +835,7 @@ impl Read for &File {
835 835 }
836 836 #[stable(feature = "rust1", since = "1.0.0")]
837 837 impl Write for &File {
838 -/// Writes some bytes from the file.
838 +/// Writes some bytes to the file.
839 839 ///
840 840 /// See [`Write::write`] docs for more info.
841 841 ///