Rollup merge of #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.
This commit is contained in:
Jubilee 2024-09-18 14:32:27 -07:00 committed by GitHub
commit 4d9ce4b4b3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

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