summary refs log tree commit diff
path: root/pkgs/development/compilers/rust/patches/stdsimd-disable-doctest.patch
blob: 6ef7fd0f7ce4033cb2f06f108f8a7e963d9e1653 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/src/stdsimd/coresimd/x86/mod.rs b/src/stdsimd/coresimd/x86/mod.rs
index 32915c332..7cb54f31e 100644
--- a/src/stdsimd/coresimd/x86/mod.rs
+++ b/src/stdsimd/coresimd/x86/mod.rs
@@ -279,7 +279,6 @@ types! {
     ///
     /// # Examples
     ///
-    /// ```
     /// # #![feature(cfg_target_feature, target_feature, stdsimd)]
     /// # #![cfg_attr(not(dox), no_std)]
     /// # #[cfg(not(dox))]
@@ -301,7 +300,6 @@ types! {
     /// # }
     /// # if is_x86_feature_detected!("sse") { unsafe { foo() } }
     /// # }
-    /// ```
     pub struct __m256(f32, f32, f32, f32, f32, f32, f32, f32);
 
     /// 256-bit wide set of four `f64` types, x86-specific