add link to format_args! when being mentioned in doc
This commit is contained in:
parent
fc323035ac
commit
daa3c795dc
1 changed files with 2 additions and 2 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Reference in a new issue