diff options
| author | Cristi Cobzarenco <cristi.cobzarenco@gmail.com> | 2015-10-07 23:11:25 +0100 |
|---|---|---|
| committer | Cristi Cobzarenco <cristi.cobzarenco@gmail.com> | 2015-10-08 19:49:31 +0100 |
| commit | 4b308b44e1d8204702f6912dda4dfc404aa2a87d (patch) | |
| tree | 81656e777de1d1de896739e318645bca7317e391 /src/libstd/io/mod.rs | |
| parent | 95285c496f58a326eace11bddb25a7ce7adcfe44 (diff) | |
| download | rust-4b308b44e1d8204702f6912dda4dfc404aa2a87d.tar.gz rust-4b308b44e1d8204702f6912dda4dfc404aa2a87d.zip | |
typos: fix a grabbag of typos all over the place
Diffstat (limited to 'src/libstd/io/mod.rs')
| -rw-r--r-- | src/libstd/io/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/io/mod.rs b/src/libstd/io/mod.rs index a76755dadd3..166909f20b7 100644 --- a/src/libstd/io/mod.rs +++ b/src/libstd/io/mod.rs @@ -23,7 +23,7 @@ //! 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 somtimes even `Vec<T>`s. For example, `Read` +//! `File`s, `TcpStream`s, and sometimes even `Vec<T>`s. For example, `Read` //! adds a `read()` method, which we can use on `File`s: //! //! ``` @@ -234,7 +234,7 @@ //! The return type of `read_input()`, `io::Result<()>`, is a very common type //! for functions which don't have a 'real' return value, but do want to return //! errors if they happen. In this case, the only purpose of this function is -//! to read the line and print it, so we use use `()`. +//! to read the line and print it, so we use `()`. //! //! [result]: type.Result.html //! [try]: macro.try!.html |
