From 3a5bbf11b1ffa1e0cc8aaa672ae2cfc8cc79177f Mon Sep 17 00:00:00 2001 From: gnzlbg Date: Thu, 21 Jun 2018 12:02:51 +0200 Subject: [PATCH] fix doc-test for __m256. Closes #481 --- library/stdarch/coresimd/x86/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/stdarch/coresimd/x86/mod.rs b/library/stdarch/coresimd/x86/mod.rs index 15f2f2eb986d..8afe17dd12e6 100644 --- a/library/stdarch/coresimd/x86/mod.rs +++ b/library/stdarch/coresimd/x86/mod.rs @@ -276,7 +276,7 @@ types! { /// use std::arch::x86_64::*; /// /// # fn main() { - /// # #[target_feature(enable = "sse")] + /// # #[target_feature(enable = "avx")] /// # unsafe fn foo() { /// let eight_zeros = _mm256_setzero_ps(); /// let eight_ones = _mm256_set1_ps(1.0);