We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
doc(include)
doc = include_str!
1 parent 216009f commit 6f3787aCopy full SHA for 6f3787a
crates/core_arch/src/lib.rs
@@ -1,4 +1,4 @@
1
-#![doc(include = "core_arch_docs.md")]
+#![doc = include_str!("core_arch_docs.md")]
2
#![allow(improper_ctypes_definitions)]
3
#![allow(dead_code)]
4
#![allow(unused_features)]
@@ -36,7 +36,8 @@
36
f16c_target_feature,
37
external_doc,
38
allow_internal_unstable,
39
- decl_macro
+ decl_macro,
40
+ extended_key_value_attributes
41
)]
42
#![cfg_attr(test, feature(test, abi_vectorcall))]
43
#![cfg_attr(all(test, target_arch = "wasm32"), feature(wasm_simd))]
crates/core_arch/src/mod.rs
@@ -9,7 +9,7 @@ mod acle;
9
10
mod simd;
11
12
-#[doc(include = "core_arch_docs.md")]
+#[doc = include_str!("core_arch_docs.md")]
13
#[stable(feature = "simd_arch", since = "1.27.0")]
14
pub mod arch {
15
/// Platform-specific intrinsics for the `x86` platform.
0 commit comments