Skip to content

Commit 8f6ca5b

Browse files
committed
Clarify docs for std::fs::File::write
1 parent 37eb770 commit 8f6ca5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

std/src/fs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -835,7 +835,7 @@ impl Read for &File {
835835
}
836836
#[stable(feature = "rust1", since = "1.0.0")]
837837
impl Write for &File {
838-
/// Writes some bytes from the file.
838+
/// Writes some bytes to the file.
839839
///
840840
/// See [`Write::write`] docs for more info.
841841
///

0 commit comments

Comments
 (0)