Skip to content

Commit

Permalink
Rollup merge of #93930 - name1e5s:chore/docs, r=Mark-Simulacrum
Browse files Browse the repository at this point in the history
add link to format_args! when mention it in docs

close #93904
  • Loading branch information
matthiaskrgr authored Feb 13, 2022
2 parents 5699f68 + daa3c79 commit 2b7f3ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/core/src/macros/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
///
Expand All @@ -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",
Expand Down

0 comments on commit 2b7f3ee

Please sign in to comment.