diff options
| author | Jonas Schievink <jonasschievink@gmail.com> | 2020-11-10 14:45:27 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-10 14:45:27 +0100 |
| commit | 87ecb0afacaabea3b2a4555207f1ad44932d2d9a (patch) | |
| tree | f7cb671b8a755954844fdf08d0b55815d98292aa | |
| parent | 1952f04a6183fef00023ed988da9bea3527c5e34 (diff) | |
| parent | bf982a52f65581620def44a47ce4e658a8ad9457 (diff) | |
| download | rust-87ecb0afacaabea3b2a4555207f1ad44932d2d9a.tar.gz rust-87ecb0afacaabea3b2a4555207f1ad44932d2d9a.zip | |
Rollup merge of #78896 - cyqsimon:master, r=m-ou-se
Clarified description of write! macro Reordered the list of arguments in the description to match that in the actual macro. Suggested and discussed [here](https://discord.com/channels/442252698964721669/443492145567891458/774341262609219624).
| -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..fe3eff04b4a 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, and 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 |
