From 96a3b48197a3febc55d2746526b67f515ad5fad1 Mon Sep 17 00:00:00 2001 From: Alexey Shekhirin Date: Wed, 18 Sep 2024 15:15:54 +0100 Subject: [PATCH] Clarify docs for std::fs::File::write --- library/std/src/fs.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/std/src/fs.rs b/library/std/src/fs.rs index 6a0d9f47960ec..abf7d5d294af4 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. ///