From 04634e88a35d8989966c181e326e41ed1973d35e Mon Sep 17 00:00:00 2001 From: Jonas Schievink Date: Fri, 23 Jul 2021 19:04:07 +0200 Subject: Mark `format_args_nl` as `#[doc(hidden)]` --- library/core/src/macros/mod.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'library/core/src') diff --git a/library/core/src/macros/mod.rs b/library/core/src/macros/mod.rs index 3ca8f27c79a..07ee589e29f 100644 --- a/library/core/src/macros/mod.rs +++ b/library/core/src/macros/mod.rs @@ -845,6 +845,7 @@ pub(crate) mod builtin { language use and is subject to change" )] #[allow_internal_unstable(fmt_internals)] + #[doc(hidden)] #[rustc_builtin_macro] #[macro_export] macro_rules! format_args_nl { -- cgit 1.4.1-3-g733a5 From 7879a59ac72e2c53659358bcaa3b7c32e06047f7 Mon Sep 17 00:00:00 2001 From: Matthias Geier Date: Sat, 24 Jul 2021 11:27:42 +0200 Subject: DOC: remove unnecessary feature crate attribute from example code --- library/core/src/mem/maybe_uninit.rs | 1 - 1 file changed, 1 deletion(-) (limited to 'library/core/src') diff --git a/library/core/src/mem/maybe_uninit.rs b/library/core/src/mem/maybe_uninit.rs index 5122421ea8c..d3ebc1cebb6 100644 --- a/library/core/src/mem/maybe_uninit.rs +++ b/library/core/src/mem/maybe_uninit.rs @@ -461,7 +461,6 @@ impl MaybeUninit { /// With `write`, we can avoid the need to write through a raw pointer: /// /// ```rust - /// #![feature(maybe_uninit_extra)] /// use core::pin::Pin; /// use core::mem::MaybeUninit; /// -- cgit 1.4.1-3-g733a5