Skip to content

Commit

Permalink
Fix wrong type name: IoError<()> -> IoResult<()>
Browse files Browse the repository at this point in the history
  • Loading branch information
alco committed Jun 25, 2014
1 parent f21b295 commit beff610
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/fmt.rs
Expand Up @@ -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).
Expand Down

5 comments on commit beff610

@bors
Copy link
Contributor

@bors bors commented on beff610 Jun 25, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on beff610 Jun 25, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging alco/rust/patch-1 = beff610 into auto

@bors
Copy link
Contributor

@bors bors commented on beff610 Jun 25, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

alco/rust/patch-1 = beff610 merged ok, testing candidate = 2f74325

@bors
Copy link
Contributor

@bors bors commented on beff610 Jun 25, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = 2f74325

Please sign in to comment.