about summary refs log tree commit diff
path: root/src/libstd/io/result.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-01-30 16:55:20 -0800
committerAlex Crichton <alex@alexcrichton.com>2014-02-03 09:32:35 -0800
commitf9a32cdabc1680b89bd7b579dc1e3f8f18c28257 (patch)
treeeb30082c0b18bd9510a805e9d416d69242652d3a /src/libstd/io/result.rs
parent2a7c5e0b724d8318a7e7762e483c225e8a7420a1 (diff)
downloadrust-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.rs6
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};