Skip to content

Commit f9e2f13

Browse files
committed
fix broken intra doc links
1 parent 1aca4dd commit f9e2f13

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

crates/core_arch/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#![allow(unused_features)]
55
#![allow(internal_features)]
66
#![allow(unsafe_op_in_unsafe_fn)]
7-
#![deny(rust_2018_idioms)]
7+
#![deny(rust_2018_idioms, rustdoc::broken_intra_doc_links)]
88
#![feature(
99
custom_inner_attributes,
1010
link_llvm_intrinsics,

crates/core_arch/src/x86/avx512fp16.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -264,8 +264,8 @@ pub fn _mm512_setzero_ph() -> __m512h {
264264

265265
/// Return vector of type `__m128h` with indetermination elements.
266266
/// Despite using the word "undefined" (following Intel's naming scheme), this non-deterministically
267-
/// picks some valid value and is not equivalent to [`mem::MaybeUninit`].
268-
/// In practice, this is typically equivalent to [`mem::zeroed`].
267+
/// picks some valid value and is not equivalent to [`mem::MaybeUninit`](core::mem::MaybeUninit).
268+
/// In practice, this is typically equivalent to [`mem::zeroed`](core::mem::zeroed).
269269
///
270270
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm_undefined_ph)
271271
#[inline]
@@ -277,8 +277,8 @@ pub fn _mm_undefined_ph() -> __m128h {
277277

278278
/// Return vector of type `__m256h` with indetermination elements.
279279
/// Despite using the word "undefined" (following Intel's naming scheme), this non-deterministically
280-
/// picks some valid value and is not equivalent to [`mem::MaybeUninit`].
281-
/// In practice, this is typically equivalent to [`mem::zeroed`].
280+
/// picks some valid value and is not equivalent to [`mem::MaybeUninit`](core::mem::MaybeUninit).
281+
/// In practice, this is typically equivalent to [`mem::zeroed`](core::mem::zeroed).
282282
///
283283
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_undefined_ph)
284284
#[inline]
@@ -290,8 +290,8 @@ pub fn _mm256_undefined_ph() -> __m256h {
290290

291291
/// Return vector of type `__m512h` with indetermination elements.
292292
/// Despite using the word "undefined" (following Intel's naming scheme), this non-deterministically
293-
/// picks some valid value and is not equivalent to [`mem::MaybeUninit`].
294-
/// In practice, this is typically equivalent to [`mem::zeroed`].
293+
/// picks some valid value and is not equivalent to [`mem::MaybeUninit`](core::mem::MaybeUninit).
294+
/// In practice, this is typically equivalent to [`mem::zeroed`](core::mem::zeroed).
295295
///
296296
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm512_undefined_ph)
297297
#[inline]

0 commit comments

Comments
 (0)