Skip to content

Commit f0f795d

Browse files
committed
Use inner docs to fix links
1 parent 89b9388 commit f0f795d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

library/core/src/lib.rs

+2-1
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
}

library/std/src/lib.rs

+2-1
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)