File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 20
20
//!
21
21
//! # Read and Write
22
22
//!
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:
28
28
//!
29
29
//! ```
30
30
//! use std::io;
111
111
//! # }
112
112
//! ```
113
113
//!
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
115
115
//! to [`write()`][write]:
116
116
//!
117
117
//! ```
165
165
//! # }
166
166
//! ```
167
167
//!
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
169
169
//! `println!`.
170
170
//!
171
171
//! ## Iterator types
You can’t perform that action at this time.
0 commit comments