Skip to content

Commit 6d0e439

Browse files
committed
More fixes for stable libstd
1 parent 1955c77 commit 6d0e439

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdsimd/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@
205205
/// AVX2 and also for the default platform.
206206
///
207207
/// ```rust
208-
/// #![feature(cfg_target_feature, target_feature, stdsimd)]
208+
/// # #![cfg_attr(not(dox), feature(cfg_target_feature, target_feature, stdsimd))]
209209
///
210210
/// # #[cfg(not(dox))]
211211
/// # #[macro_use]
@@ -247,7 +247,7 @@
247247
/// we'll be using SSE4.1 features to implement hex encoding.
248248
///
249249
/// ```
250-
/// #![feature(cfg_target_feature, target_feature, stdsimd)]
250+
/// # #![cfg_attr(not(dox), feature(cfg_target_feature, target_feature, stdsimd))]
251251
/// # #![cfg_attr(not(dox), no_std)]
252252
/// # #[cfg(not(dox))]
253253
/// # extern crate std as real_std;

0 commit comments

Comments
 (0)