Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove cfg(not(doc)) from doctests #922

Merged
merged 1 commit into from
Oct 1, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions crates/core_arch/src/core_arch_docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,12 +210,6 @@ using LLVM's auto-vectorization to produce optimized vectorized code for
AVX2 and also for the default platform.

```rust
# #![cfg_attr(not(doc),feature(stdsimd))]
# #[allow(unused_imports)]
# #[cfg(not(doc))]
# #[macro_use(is_x86_feature_detected)]
# extern crate std_detect;

fn main() {
let mut dst = [0];
add_quickly(&[1], &[2], &mut dst);
Expand Down