about summary refs log tree commit diff
path: root/library/std/src
diff options
context:
space:
mode:
authorAlexey Shekhirin <a.shekhirin@gmail.com>2024-09-18 15:15:54 +0100
committerAlexey Shekhirin <a.shekhirin@gmail.com>2024-09-18 15:15:54 +0100
commit96a3b48197a3febc55d2746526b67f515ad5fad1 (patch)
treed88193e4438d8da31737ff48c80d9c93193a2524 /library/std/src
parent82d17a4db3a010caa947d49245de63a7ac14accf (diff)
downloadrust-96a3b48197a3febc55d2746526b67f515ad5fad1.tar.gz
rust-96a3b48197a3febc55d2746526b67f515ad5fad1.zip
Clarify docs for std::fs::File::write
Diffstat (limited to 'library/std/src')
-rw-r--r--library/std/src/fs.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/fs.rs b/library/std/src/fs.rs
index 6a0d9f47960..abf7d5d294a 100644
--- a/library/std/src/fs.rs
+++ b/library/std/src/fs.rs
@@ -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.
     ///