about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2017-06-16 00:32:46 -0400
committerGitHub <noreply@github.com>2017-06-16 00:32:46 -0400
commitf5f74a22c94a7053d33c88d135f9fdc44fa2ea5b (patch)
tree2ee8edfec215e7b20b59a266589e6c8d485f5d1a /src/libstd
parent999f3ad60dd47a9726f157f789511c2ada55402e (diff)
parentedd3cd84feab2672f448017e0e41f04e114dfaf3 (diff)
downloadrust-f5f74a22c94a7053d33c88d135f9fdc44fa2ea5b.tar.gz
rust-f5f74a22c94a7053d33c88d135f9fdc44fa2ea5b.zip
Rollup merge of #42685 - Havvy:doc-remove-sometimes, r=steveklabnik
Remove sometimes in std::io::Read doc

We use it immediately in the next sentence, and the word is filler.

A different conversation to make is whether we want to call them Readers in the documentation at all. And whether it's actually called "Readers" elsewhere.
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 061e807dace..3f859c45c28 100644
--- a/src/libstd/io/mod.rs
+++ b/src/libstd/io/mod.rs
@@ -389,7 +389,7 @@ fn read_to_end<R: Read + ?Sized>(r: &mut R, buf: &mut Vec<u8>) -> Result<usize>
 
 /// The `Read` trait allows for reading bytes from a source.
 ///
-/// Implementors of the `Read` trait are sometimes called 'readers'.
+/// Implementors of the `Read` trait are called 'readers'.
 ///
 /// Readers are defined by one required method, `read()`. Each call to `read`
 /// will attempt to pull bytes from this source into a provided buffer. A