Skip to content

Commit 0063f9d

Browse files
committed
mark format_args_nl! as #[doc(hidden)]
1 parent fbd8f95 commit 0063f9d

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

library/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 */ }};

src/librustdoc/html/highlight.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ pub(super) fn write_code(
578578
}
579579

580580
fn write_footer(out: &mut String, playground_button: Option<&str>) {
581-
write_str(out, format_args_nl!("</code></pre>{}</div>", playground_button.unwrap_or_default()));
581+
write_str(out, format_args!("</code></pre>{}</div>\n", playground_button.unwrap_or_default()));
582582
}
583583

584584
/// How a span of text is classified. Mostly corresponds to token kinds.

src/librustdoc/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
#![feature(box_patterns)]
1111
#![feature(debug_closure_helpers)]
1212
#![feature(file_buffered)]
13-
#![feature(format_args_nl)]
1413
#![feature(if_let_guard)]
1514
#![feature(iter_advance_by)]
1615
#![feature(iter_intersperse)]

0 commit comments

Comments
 (0)