diff options
| author | bors <bors@rust-lang.org> | 2016-09-18 17:25:01 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-09-18 17:25:01 -0700 |
| commit | bfac5d6d9fd2e0f7484d45ac29997e17bb41e7c5 (patch) | |
| tree | ad5b8e6833329fcf595cf26c270c7c68b75f2a86 /src/libstd | |
| parent | 55bf6a4f870cda7afddea7c6ca2b3ee9aac23ca2 (diff) | |
| parent | ad6321573259f5877c9186fb084b7273d89dde71 (diff) | |
| download | rust-bfac5d6d9fd2e0f7484d45ac29997e17bb41e7c5.tar.gz rust-bfac5d6d9fd2e0f7484d45ac29997e17bb41e7c5.zip | |
Auto merge of #36523 - Mark-Simulacrum:format-args-link, r=GuillaumeGomez
Add links between format_args! macro and std::fmt::Arguments struct r? @GuillaumeGomez
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/macros.rs | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/src/libstd/macros.rs b/src/libstd/macros.rs index 6f0f6ecab5b..c78840bd42b 100644 --- a/src/libstd/macros.rs +++ b/src/libstd/macros.rs @@ -193,12 +193,18 @@ macro_rules! assert_approx_eq { pub mod builtin { /// The core macro for formatted string creation & output. /// - /// This macro produces a value of type `fmt::Arguments`. This value can be - /// passed to the functions in `std::fmt` for performing useful functions. - /// All other formatting macros (`format!`, `write!`, `println!`, etc) are + /// This macro produces a value of type [`fmt::Arguments`]. This value can be + /// passed to the functions in [`std::fmt`] for performing useful functions. + /// All other formatting macros ([`format!`], [`write!`], [`println!`], etc) are /// proxied through this one. /// - /// For more information, see the documentation in `std::fmt`. + /// For more information, see the documentation in [`std::fmt`]. + /// + /// [`fmt::Arguments`]: ../std/fmt/struct.Arguments.html + /// [`std::fmt`]: ../std/fmt/index.html + /// [`format!`]: ../std/macro.format.html + /// [`write!`]: ../std/macro.write.html + /// [`println!`]: ../std/macro.println.html /// /// # Examples /// |
