Skip to content

Commit beff610

Browse files
committed
Fix wrong type name: IoError<()> -> IoResult<()>
1 parent f21b295 commit beff610

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/fmt.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ struct. In order to help with this, the `Formatter` struct also provides some
185185
helper methods.
186186
187187
Additionally, the return value of this function is `fmt::Result` which is a
188-
typedef to `Result<(), IoError>` (also known as `IoError<()>`). Formatting
188+
typedef to `Result<(), IoError>` (also known as `IoResult<()>`). Formatting
189189
implementations should ensure that they return errors from `write!` correctly
190190
(propagating errors upward).
191191

0 commit comments

Comments
 (0)