Skip to content

Commit c3058a2

Browse files
committed
Fix minor issues with std::io docs
1 parent 971856d commit c3058a2

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/libstd/io/mod.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020
//!
2121
//! # Read and Write
2222
//!
23-
//! Because they are traits, they're implemented by a number of other types,
24-
//! and you can implement them for your types too. As such, you'll see a
25-
//! few different types of I/O throughout the documentation in this module:
26-
//! `File`s, `TcpStream`s, and sometimes even `Vec<T>`s. For example, `Read`
27-
//! adds a `read()` method, which we can use on `File`s:
23+
//! Because they are traits, `Read` and `Write` are implemented by a number
24+
//! of other types, and you can implement them for your types too. As such,
25+
//! you'll see a few different types of I/O throughout the documentation in
26+
//! this module: `File`s, `TcpStream`s, and sometimes even `Vec<T>`s. For
27+
//! example, `Read` adds a `read()` method, which we can use on `File`s:
2828
//!
2929
//! ```
3030
//! use std::io;
@@ -111,7 +111,7 @@
111111
//! # }
112112
//! ```
113113
//!
114-
//! `BufWriter` doesn't add any new ways of writing, it just buffers every call
114+
//! `BufWriter` doesn't add any new ways of writing; it just buffers every call
115115
//! to [`write()`][write]:
116116
//!
117117
//! ```
@@ -165,7 +165,7 @@
165165
//! # }
166166
//! ```
167167
//!
168-
//! Of course, using `io::stdout()` directly is less comon than something like
168+
//! Of course, using `io::stdout()` directly is less common than something like
169169
//! `println!`.
170170
//!
171171
//! ## Iterator types

0 commit comments

Comments
 (0)