Skip to content

Commit 2b7f3ee

Browse files
authored
Rollup merge of #93930 - name1e5s:chore/docs, r=Mark-Simulacrum
add link to format_args! when mention it in docs close #93904
2 parents 5699f68 + daa3c79 commit 2b7f3ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/core/src/macros/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -872,7 +872,7 @@ pub(crate) mod builtin {
872872
($fmt:expr, $($args:tt)*) => {{ /* compiler built-in */ }};
873873
}
874874

875-
/// Same as `format_args`, but can be used in some const contexts.
875+
/// Same as [`format_args`], but can be used in some const contexts.
876876
///
877877
/// This macro is used by the panic macros for the `const_panic` feature.
878878
///
@@ -886,7 +886,7 @@ pub(crate) mod builtin {
886886
($fmt:expr, $($args:tt)*) => {{ /* compiler built-in */ }};
887887
}
888888

889-
/// Same as `format_args`, but adds a newline in the end.
889+
/// Same as [`format_args`], but adds a newline in the end.
890890
#[unstable(
891891
feature = "format_args_nl",
892892
issue = "none",

0 commit comments

Comments
 (0)