Skip to content

Commit

Permalink
Clarify docs for std::fs::File::write
Browse files Browse the repository at this point in the history
  • Loading branch information
shekhirin committed Sep 18, 2024
1 parent 37eb770 commit 8f6ca5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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 8f6ca5b

Please sign in to comment.