Skip to content

Commit 67c44c7

Browse files
authored
Rollup merge of rust-lang#146314 - cyrgani:hide-fmt-args-nl, r=GuillaumeGomez
mark `format_args_nl!` as `#[doc(hidden)]` The `#[unstable]` attribute of the macro already says: > `format_args_nl` is only for internal language use and is subject to change It does seem plausible to hide it from the `std` docs accordingly. The PR also removes the single usage of the macro outside of `std` as it does not seem like the macro is actually needed there.
2 parents 43ea5bd + 3f598f9 commit 67c44c7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/macros/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1017,6 +1017,7 @@ pub(crate) mod builtin {
10171017
)]
10181018
#[allow_internal_unstable(fmt_internals)]
10191019
#[rustc_builtin_macro]
1020+
#[doc(hidden)]
10201021
#[macro_export]
10211022
macro_rules! format_args_nl {
10221023
($fmt:expr) => {{ /* compiler built-in */ }};

0 commit comments

Comments
 (0)