Skip to content

Commit 31dd00a

Browse files
committed
Use inner docs to fix links
1 parent 56544d2 commit 31dd00a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

core/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,9 +446,10 @@ pub mod arch;
446446
#[unstable(feature = "portable_simd", issue = "86656")]
447447
mod core_simd;
448448

449-
#[doc = include_str!("../../portable-simd/crates/core_simd/src/core_simd_docs.md")]
450449
#[unstable(feature = "portable_simd", issue = "86656")]
451450
pub mod simd {
451+
#![doc = include_str!("../../portable-simd/crates/core_simd/src/core_simd_docs.md")]
452+
452453
#[unstable(feature = "portable_simd", issue = "86656")]
453454
pub use crate::core_simd::simd::*;
454455
}

std/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,9 +582,10 @@ pub mod time;
582582
#[unstable(feature = "portable_simd", issue = "86656")]
583583
mod std_float;
584584

585-
#[doc = include_str!("../../portable-simd/crates/core_simd/src/core_simd_docs.md")]
586585
#[unstable(feature = "portable_simd", issue = "86656")]
587586
pub mod simd {
587+
#![doc = include_str!("../../portable-simd/crates/core_simd/src/core_simd_docs.md")]
588+
588589
#[doc(inline)]
589590
pub use crate::std_float::StdFloat;
590591
#[doc(inline)]

0 commit comments

Comments
 (0)