Skip to content

Commit

Permalink
Auto merge of #26285 - rick68:patch-3, r=alexcrichton
Browse files Browse the repository at this point in the history
`FormatError` is not exist anymore.
  • Loading branch information
bors committed Jun 14, 2015
2 parents 6e7fcc4 + 7f25185 commit 043f93f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libcore/fmt/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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];
Expand Down

0 comments on commit 043f93f

Please sign in to comment.