diff options
| author | bors <bors@rust-lang.org> | 2021-03-09 01:47:39 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-03-09 01:47:39 +0000 |
| commit | bb3afe1e609b70ef2a8e75072e6eb5828416c012 (patch) | |
| tree | 5096b96092241d2c6d4596be417607a8c19cfefb /library/std | |
| parent | eb476b172f12dfbbee386d027b1ad6c0bc203a9b (diff) | |
| parent | 54add8dfcaceb1c8a0bf30ae22cebd681bd17c98 (diff) | |
| download | rust-bb3afe1e609b70ef2a8e75072e6eb5828416c012.tar.gz rust-bb3afe1e609b70ef2a8e75072e6eb5828416c012.zip | |
Auto merge of #82911 - m-ou-se:rollup-rjomgja, r=m-ou-se
Rollup of 11 pull requests
Successful merges:
- #82711 (Add documentation for string->Cow conversions)
- #82767 (Update minifier dependency version)
- #82800 (Move rustdoc UI tests into a subdirectory)
- #82810 (Typo fix in Unstable book: `cargo cov` -> `cargo profdata`)
- #82829 (Handle negative literals in cast overflow warning)
- #82854 (Account for `if (let pat = expr) {}`)
- #82870 (Add note about the `#[doc(no-inline)]` usage)
- #82874 (Add codegen tests for some issues closed by LLVM 12)
- #82881 (diagnostics: Be clear about "crate root" and `::foo` paths in resolve diagnostics)
- #82888 (Grammar Fixes)
- #82897 ([.mailmap] Add entry for Ramkumar Ramachandra)
Failed merges:
r? `@ghost`
`@rustbot` modify labels: rollup
Diffstat (limited to 'library/std')
| -rw-r--r-- | library/std/src/lib.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/library/std/src/lib.rs b/library/std/src/lib.rs index acdf7550fe7..cebe05c39cb 100644 --- a/library/std/src/lib.rs +++ b/library/std/src/lib.rs @@ -395,7 +395,11 @@ 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)] +// The `no_inline`-attribute is required to make the documentation of all +// targets available. +// See https://github.com/rust-lang/rust/pull/57808#issuecomment-457390549 for +// more information. +#[doc(no_inline)] // Note (#82861): required for correct documentation pub use core::arch; #[stable(feature = "core_array", since = "1.36.0")] pub use core::array; |
