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

Skip to content

Sign in

Appearance settings

View all features

View all solutions

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Sign in

Sign up

Appearance settings

qinheping / verify-rust-std Public

forked from model-checking/verify-rust-std

Additional navigation options

Commit 8a9576c

Browse files

workingjubileeworkingjubilee

authored

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.

2 parents d53d48a + 8f6ca5b commit 8a9576c

File tree

1 file changed

1

-

1

lines changed

1 file changed

1

-

1

lines changed

‎std/src/fs.rs‎

Lines changed: 1 addition & 1 deletion

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 ///

0 commit comments

Comments

(0)