about summary refs log tree commit diff
path: root/src/libstd/fmt.rs
diff options
context:
space:
mode:
authorAlexei Sholik <alcosholik@gmail.com>2014-06-25 12:12:28 +0300
committerAlexei Sholik <alcosholik@gmail.com>2014-06-25 12:12:28 +0300
commitbeff6101026334ce8b04b08c34062acffbd044fd (patch)
tree3d9ad8eee8fc6678ed04bfb9117848edd3b86570 /src/libstd/fmt.rs
parentf21b29560c74d44b0401f208f2d0f9a7889694b1 (diff)
downloadrust-beff6101026334ce8b04b08c34062acffbd044fd.tar.gz
rust-beff6101026334ce8b04b08c34062acffbd044fd.zip
Fix wrong type name: IoError<()> -> IoResult<()>
Diffstat (limited to 'src/libstd/fmt.rs')
-rw-r--r--src/libstd/fmt.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/fmt.rs b/src/libstd/fmt.rs
index dc6f5486849..ef0c59268c3 100644
--- a/src/libstd/fmt.rs
+++ b/src/libstd/fmt.rs
@@ -185,7 +185,7 @@ struct. In order to help with this, the `Formatter` struct also provides some
 helper methods.
 
 Additionally, the return value of this function is `fmt::Result` which is a
-typedef to `Result<(), IoError>` (also known as `IoError<()>`). Formatting
+typedef to `Result<(), IoError>` (also known as `IoResult<()>`). Formatting
 implementations should ensure that they return errors from `write!` correctly
 (propagating errors upward).