about summary refs log tree commit diff
path: root/src/libstd/macros.rs
diff options
context:
space:
mode:
authorMark-Simulacrum <mark.simulacrum@gmail.com>2016-09-15 19:59:29 -0600
committerMark-Simulacrum <mark.simulacrum@gmail.com>2016-09-16 15:33:53 -0600
commitad6321573259f5877c9186fb084b7273d89dde71 (patch)
treecc8c3b08c46b838f709f1da3e047f28eb564ccb5 /src/libstd/macros.rs
parent1265cbf4e05628c98f51afebe0b662c451173faa (diff)
downloadrust-ad6321573259f5877c9186fb084b7273d89dde71.tar.gz
rust-ad6321573259f5877c9186fb084b7273d89dde71.zip
Add links between format_args! macro and std::fmt::Arguments struct
Diffstat (limited to 'src/libstd/macros.rs')
-rw-r--r--src/libstd/macros.rs14
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
     ///