From fd6a6f5f9124e735355fbdb92a47a8480a1c6fda Mon Sep 17 00:00:00 2001 From: Julian Frimmel Date: Sun, 7 Mar 2021 10:52:35 +0100 Subject: [PATCH] Inline the `core::arch` documentation into `std` This commit removes the `#[doc(no_inline)]`-attribute from the `pub use` statement of the `core::arch`-module. This has the effect, that the module is not listed under the re-exported section in the documentation (it is the only item in a re-exports-section in the `std`), but as a normal module. This also removes the only mention of the `core`-crate in the `std` crate, which is desirable, as only a subset of Rust users know `core` and its relationship with the `std`. --- library/std/src/lib.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/library/std/src/lib.rs b/library/std/src/lib.rs index 72b86338d2c97..c889f2fb29068 100644 --- a/library/std/src/lib.rs +++ b/library/std/src/lib.rs @@ -394,7 +394,6 @@ pub use alloc_crate::vec; #[stable(feature = "rust1", since = "1.0.0")] pub use core::any; #[stable(feature = "simd_arch", since = "1.27.0")] -#[doc(no_inline)] pub use core::arch; #[stable(feature = "core_array", since = "1.36.0")] pub use core::array;