提交 e4dd785b 编写于 作者: S Steven Allen

Correct formatting docs: fmt::Result != io::Result<()>

上级 49018963
......@@ -165,9 +165,9 @@
//! provides some helper methods.
//!
//! Additionally, the return value of this function is `fmt::Result` which is a
//! typedef to `Result<(), std::io::Error>` (also known as `std::io::Result<()>`).
//! Formatting implementations should ensure that they return errors from `write!`
//! correctly (propagating errors upward).
//! typedef to `Result<(), std::fmt::Error>`. Formatting implementations should
//! ensure that they return errors from `write!` correctly (propagating errors
//! upward).
//!
//! An example of implementing the formatting traits would look
//! like:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册