Skip to content

Commit

Permalink
fix run-time detection in doc-test
Browse files Browse the repository at this point in the history
  • Loading branch information
gnzlbg committed Jun 21, 2018
1 parent 6256448 commit 6626729
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coresimd/x86/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ types! {
/// let eight_ones = _mm256_set1_ps(1.0);
/// let eight_floats = _mm256_set_ps(1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0);
/// # }
/// # if is_x86_feature_detected!("sse") { unsafe { foo() } }
/// # if is_x86_feature_detected!("avx") { unsafe { foo() } }
/// # }
/// ```
#[stable(feature = "simd_x86", since = "1.27.0")]
Expand Down

0 comments on commit 6626729

Please sign in to comment.