Skip to content

Commit 6e26220

Browse files
authored
Fix false rustdoc broken_intra_link detection (#984)
I saw in rust-lang/rust#81037 that when you document private items with rustdoc the `x86 AVX-512 BITALG` feature comment does not contain scape characters in the message and therefore rustdoc was emiting warnings. This fixes it.
1 parent 65f69a7 commit 6e26220

File tree

1 file changed

+1
-1
lines changed
  • crates/std_detect/src/detect/arch

1 file changed

+1
-1
lines changed

crates/std_detect/src/detect/arch/x86.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ features! {
158158
@FEATURE: #[stable(feature = "simd_x86", since = "1.27.0")] avx512vnni: "avx512vnni";
159159
/// AVX-512 VNNI (Vector Neural Network Instructions)
160160
@FEATURE: #[stable(feature = "simd_x86", since = "1.27.0")] avx512bitalg: "avx512bitalg";
161-
/// AVX-512 BITALG (Support for VPOPCNT[B,W] and VPSHUFBITQMB)
161+
/// AVX-512 BITALG (Support for VPOPCNT\[B,W\] and VPSHUFBITQMB)
162162
@FEATURE: #[stable(feature = "simd_x86", since = "1.27.0")] avx512bf16: "avx512bf16";
163163
/// AVX-512 BF16 (BFLOAT16 instructions)
164164
@FEATURE: #[stable(feature = "simd_x86", since = "1.27.0")] avx512vp2intersect: "avx512vp2intersect";

0 commit comments

Comments
 (0)