Skip to content

Commit 6626729

Browse files
committed
fix run-time detection in doc-test
1 parent 6256448 commit 6626729

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coresimd/x86/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ types! {
282282
/// let eight_ones = _mm256_set1_ps(1.0);
283283
/// let eight_floats = _mm256_set_ps(1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0);
284284
/// # }
285-
/// # if is_x86_feature_detected!("sse") { unsafe { foo() } }
285+
/// # if is_x86_feature_detected!("avx") { unsafe { foo() } }
286286
/// # }
287287
/// ```
288288
#[stable(feature = "simd_x86", since = "1.27.0")]

0 commit comments

Comments
 (0)