提交 2f74325f 编写于 作者: B bors

auto merge of #15174 : alco/rust/patch-1, r=alexcrichton

...@@ -101,8 +101,8 @@ ...@@ -101,8 +101,8 @@
``` ```
It is illegal to put positional parameters (those without names) after arguments It is illegal to put positional parameters (those without names) after arguments
which have names. Like positional parameters, it is illegal to provided named which have names. Like with positional parameters, it is illegal to provide
parameters that are unused by the format string. named parameters that are unused by the format string.
### Argument types ### Argument types
...@@ -185,7 +185,7 @@ ...@@ -185,7 +185,7 @@
helper methods. helper methods.
Additionally, the return value of this function is `fmt::Result` which is a 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 implementations should ensure that they return errors from `write!` correctly
(propagating errors upward). (propagating errors upward).
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册