diff options
| author | cyqsimon <28627918+cyqsimon@users.noreply.github.com> | 2020-11-09 23:00:31 +0800 |
|---|---|---|
| committer | cyqsimon <28627918+cyqsimon@users.noreply.github.com> | 2020-11-09 23:00:31 +0800 |
| commit | 2633e93aa063a33c4ffcf57e9c6259c7400a929e (patch) | |
| tree | c4abccac521638428ac82923ed764279a0ec9e1b | |
| parent | 25f6938da459a57b43bdf16ed6bdad3225b2a3ce (diff) | |
| download | rust-2633e93aa063a33c4ffcf57e9c6259c7400a929e.tar.gz rust-2633e93aa063a33c4ffcf57e9c6259c7400a929e.zip | |
Clarified description of write! macro
| -rw-r--r-- | library/core/src/macros/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/macros/mod.rs b/library/core/src/macros/mod.rs index 079d9f6006a..fee0ee25328 100644 --- a/library/core/src/macros/mod.rs +++ b/library/core/src/macros/mod.rs @@ -318,7 +318,7 @@ macro_rules! r#try { /// Writes formatted data into a buffer. /// -/// This macro accepts a format string, a list of arguments, and a 'writer'. Arguments will be +/// This macro accepts a 'writer', a format string, a list of arguments. Arguments will be /// formatted according to the specified format string and the result will be passed to the writer. /// The writer may be any value with a `write_fmt` method; generally this comes from an /// implementation of either the [`fmt::Write`] or the [`io::Write`] trait. The macro |
