diff options
| author | Steve Klabnik <steve@steveklabnik.com> | 2015-10-19 17:14:07 -0400 |
|---|---|---|
| committer | Steve Klabnik <steve@steveklabnik.com> | 2015-10-19 17:14:07 -0400 |
| commit | e1d4983879e8fe857136a8d6bacef49a2532edb9 (patch) | |
| tree | fb154dd624fcc8f1eed596334b0c1be507f578eb | |
| parent | 0a47175fbb5974ff5937e794adddc315d507e4ab (diff) | |
| parent | c3058a25d8794e9e47cc1d1e05c1428512949d57 (diff) | |
| download | rust-e1d4983879e8fe857136a8d6bacef49a2532edb9.tar.gz rust-e1d4983879e8fe857136a8d6bacef49a2532edb9.zip | |
Rollup merge of #29125 - iKevinY:std-io-doc-fixes, r=alexcrichton
Just a few minor spelling/grammar fixes.
| -rw-r--r-- | src/libstd/io/mod.rs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/libstd/io/mod.rs b/src/libstd/io/mod.rs index 166909f20b7..ebe50a6e2b8 100644 --- a/src/libstd/io/mod.rs +++ b/src/libstd/io/mod.rs @@ -20,11 +20,11 @@ //! //! # Read and Write //! -//! Because they are traits, they're implemented by a number of other types, -//! and you can implement them for your types too. As such, you'll see a -//! few different types of I/O throughout the documentation in this module: -//! `File`s, `TcpStream`s, and sometimes even `Vec<T>`s. For example, `Read` -//! adds a `read()` method, which we can use on `File`s: +//! Because they are traits, `Read` and `Write` are implemented by a number +//! of other types, and you can implement them for your types too. As such, +//! you'll see a few different types of I/O throughout the documentation in +//! this module: `File`s, `TcpStream`s, and sometimes even `Vec<T>`s. For +//! example, `Read` adds a `read()` method, which we can use on `File`s: //! //! ``` //! use std::io; @@ -111,7 +111,7 @@ //! # } //! ``` //! -//! `BufWriter` doesn't add any new ways of writing, it just buffers every call +//! `BufWriter` doesn't add any new ways of writing; it just buffers every call //! to [`write()`][write]: //! //! ``` @@ -165,7 +165,7 @@ //! # } //! ``` //! -//! Of course, using `io::stdout()` directly is less comon than something like +//! Of course, using `io::stdout()` directly is less common than something like //! `println!`. //! //! ## Iterator types |
