From d4ff6770bebea4b0c755c80ac3acaf40bf4103ea Mon Sep 17 00:00:00 2001 From: CPerezz Date: Tue, 19 Jan 2021 00:18:15 +0100 Subject: [PATCH] Fix false rustdoc broken_intra_link detection I saw in https://github.com/rust-lang/rust/issues/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. --- crates/std_detect/src/detect/arch/x86.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/std_detect/src/detect/arch/x86.rs b/crates/std_detect/src/detect/arch/x86.rs index 08a223fa02..e21ee6c3cb 100644 --- a/crates/std_detect/src/detect/arch/x86.rs +++ b/crates/std_detect/src/detect/arch/x86.rs @@ -158,7 +158,7 @@ features! { @FEATURE: #[stable(feature = "simd_x86", since = "1.27.0")] avx512vnni: "avx512vnni"; /// AVX-512 VNNI (Vector Neural Network Instructions) @FEATURE: #[stable(feature = "simd_x86", since = "1.27.0")] avx512bitalg: "avx512bitalg"; - /// AVX-512 BITALG (Support for VPOPCNT[B,W] and VPSHUFBITQMB) + /// AVX-512 BITALG (Support for VPOPCNT\[B,W\] and VPSHUFBITQMB) @FEATURE: #[stable(feature = "simd_x86", since = "1.27.0")] avx512bf16: "avx512bf16"; /// AVX-512 BF16 (BFLOAT16 instructions) @FEATURE: #[stable(feature = "simd_x86", since = "1.27.0")] avx512vp2intersect: "avx512vp2intersect";