diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-01-30 16:55:20 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-02-03 09:32:35 -0800 |
| commit | f9a32cdabc1680b89bd7b579dc1e3f8f18c28257 (patch) | |
| tree | eb30082c0b18bd9510a805e9d416d69242652d3a /src/libstd/io/result.rs | |
| parent | 2a7c5e0b724d8318a7e7762e483c225e8a7420a1 (diff) | |
| download | rust-f9a32cdabc1680b89bd7b579dc1e3f8f18c28257.tar.gz rust-f9a32cdabc1680b89bd7b579dc1e3f8f18c28257.zip | |
std: Fixing all documentation
* Stop referencing io_error * Start changing "Failure" sections to "Error" sections * Update all doc examples to work.
Diffstat (limited to 'src/libstd/io/result.rs')
| -rw-r--r-- | src/libstd/io/result.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstd/io/result.rs b/src/libstd/io/result.rs index aa33ecb19e5..8e03cffd0fb 100644 --- a/src/libstd/io/result.rs +++ b/src/libstd/io/result.rs @@ -8,11 +8,11 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -//! Implementations of I/O traits for the Option type +//! Implementations of I/O traits for the IoResult type //! //! I/O constructors return option types to allow errors to be handled. -//! These implementations allow e.g. `Option<File>` to be used -//! as a `Reader` without unwrapping the option first. +//! These implementations allow e.g. `IoResult<File>` to be used +//! as a `Reader` without unwrapping the result first. use clone::Clone; use result::{Ok, Err}; |
