about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2018-01-06 02:13:36 +0100
committerGitHub <noreply@github.com>2018-01-06 02:13:36 +0100
commit35d15554bd5d10655ae9f7602721781ab2d78fea (patch)
treed72a92a8f31cfc7081a6883267647fc612fa1284 /src/libstd
parentb3104178d6ebeb2244e3e502b98a142ebcc6030b (diff)
parentd301da55f8cd7b8b10771d3171ae60ba334bf067 (diff)
downloadrust-35d15554bd5d10655ae9f7602721781ab2d78fea.tar.gz
rust-35d15554bd5d10655ae9f7602721781ab2d78fea.zip
Rollup merge of #47216 - SergioBenitez:doc-fix, r=Mark-Simulacrum
Clarify appending behavior of 'io::Read::read_to_string()'.

A simple doc clarification.
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/io/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/io/mod.rs b/src/libstd/io/mod.rs
index e9b707c57eb..ad9cf1eed70 100644
--- a/src/libstd/io/mod.rs
+++ b/src/libstd/io/mod.rs
@@ -601,7 +601,7 @@ pub trait Read {
         read_to_end(self, buf)
     }
 
-    /// Read all bytes until EOF in this source, placing them into `buf`.
+    /// Read all bytes until EOF in this source, appending them to `buf`.
     ///
     /// If successful, this function returns the number of bytes which were read
     /// and appended to `buf`.