about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorWei-Ming Yang <rick68@users.noreply.github.com>2015-06-14 11:32:04 +0800
committerWei-Ming Yang <rick68@users.noreply.github.com>2015-06-14 11:32:04 +0800
commit7f25185138c5e897dc0c8fd3c360efbba0aac72b (patch)
treeeb7d1bd0c8d9777e6259eb86dbe83564edd5d64b /src
parent6e7fcc44aef7b457f3be3a1971d9f026957678d5 (diff)
downloadrust-7f25185138c5e897dc0c8fd3c360efbba0aac72b.tar.gz
rust-7f25185138c5e897dc0c8fd3c360efbba0aac72b.zip
Update mod.rs
`FormatError` is not exist anymore.
Diffstat (limited to 'src')
-rw-r--r--src/libcore/fmt/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/fmt/mod.rs b/src/libcore/fmt/mod.rs
index da4d24bdc7b..76a40dc8a52 100644
--- a/src/libcore/fmt/mod.rs
+++ b/src/libcore/fmt/mod.rs
@@ -72,7 +72,7 @@ pub trait Write {
     ///
     /// # Errors
     ///
-    /// This function will return an instance of `FormatError` on error.
+    /// This function will return an instance of `Error` on error.
     #[stable(feature = "rust1", since = "1.0.0")]
     fn write_str(&mut self, s: &str) -> Result;
 
@@ -85,7 +85,7 @@ pub trait Write {
     ///
     /// # Errors
     ///
-    /// This function will return an instance of `FormatError` on error.
+    /// This function will return an instance of `Error` on error.
     #[stable(feature = "fmt_write_char", since = "1.1.0")]
     fn write_char(&mut self, c: char) -> Result {
         let mut utf_8 = [0u8; 4];