mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-23 13:13:17 +00:00
Rollup merge of #93930 - name1e5s:chore/docs, r=Mark-Simulacrum
add link to format_args! when mention it in docs close #93904
This commit is contained in:
commit
2b7f3ee89d
@ -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…
Reference in New Issue
Block a user