about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-02-13 06:44:18 +0100
committerGitHub <noreply@github.com>2022-02-13 06:44:18 +0100
commit2b7f3ee89de5ca407da4526a4438bdf453cf34e6 (patch)
tree28f4a18280c7de67cb61b2bc3609d8a473d99030
parent5699f683a40aa905a21207fa482b4e1da93f1643 (diff)
parentdaa3c795dcf05b76b4b54778972e1059181b1f61 (diff)
downloadrust-2b7f3ee89de5ca407da4526a4438bdf453cf34e6.tar.gz
rust-2b7f3ee89de5ca407da4526a4438bdf453cf34e6.zip
Rollup merge of #93930 - name1e5s:chore/docs, r=Mark-Simulacrum
add link to format_args! when mention it in docs

close #93904
-rw-r--r--library/core/src/macros/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/core/src/macros/mod.rs b/library/core/src/macros/mod.rs
index a9e90556f6c..628b679236e 100644
--- a/library/core/src/macros/mod.rs
+++ b/library/core/src/macros/mod.rs
@@ -872,7 +872,7 @@ pub(crate) mod builtin {
         ($fmt:expr, $($args:tt)*) => {{ /* compiler built-in */ }};
     }
 
-    /// Same as `format_args`, but can be used in some const contexts.
+    /// Same as [`format_args`], but can be used in some const contexts.
     ///
     /// This macro is used by the panic macros for the `const_panic` feature.
     ///
@@ -886,7 +886,7 @@ pub(crate) mod builtin {
         ($fmt:expr, $($args:tt)*) => {{ /* compiler built-in */ }};
     }
 
-    /// Same as `format_args`, but adds a newline in the end.
+    /// Same as [`format_args`], but adds a newline in the end.
     #[unstable(
         feature = "format_args_nl",
         issue = "none",