]> git.lizzy.rs Git - rust.git/commitdiff
Fix minor issues with std::io docs
authorKevin Yap <me@kevinyap.ca>
Sat, 17 Oct 2015 19:34:25 +0000 (12:34 -0700)
committerKevin Yap <me@kevinyap.ca>
Sat, 17 Oct 2015 19:35:23 +0000 (12:35 -0700)
src/libstd/io/mod.rs

index 166909f20b7e1a97ceb38912f3fd8de2b4f6c6d9..ebe50a6e2b8a2b83d5735701e8d869bfcc2d2cf2 100644 (file)
 //!
 //! # 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;
 //! # }
 //! ```
 //!
-//! `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]:
 //!
 //! ```
 //! # }
 //! ```
 //!
-//! 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