mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-21 17:52:12 +03:00
Fix wrong type name: IoError<()> -> IoResult<()>
This commit is contained in:
+1
-1
@@ -185,7 +185,7 @@
|
||||
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).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user