Skip to content
2 changes: 1 addition & 1 deletion fearless_simd/examples/play.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
reason = "TODO: https://github.com/linebender/fearless_simd/issues/40"
)]

use fearless_simd::{Level, Simd, SimdBase, WithSimd, dispatch};
use fearless_simd::{Level, dispatch, prelude::*};

// The WithSimd idea is adapted from pulp but is clunky; we
// will probably prefer the `dispatch!` macro.
Expand Down
2 changes: 1 addition & 1 deletion fearless_simd/examples/sigmoid.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
reason = "TODO: https://github.com/linebender/fearless_simd/issues/40"
)]

use fearless_simd::{Level, Simd, SimdBase, SimdFloat, dispatch};
use fearless_simd::{Level, dispatch, prelude::*};

#[inline(always)]
fn sigmoid<S: Simd>(simd: S, x: &[f32], out: &mut [f32]) {
Expand Down
2 changes: 1 addition & 1 deletion fearless_simd/examples/srgb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
reason = "TODO: https://github.com/linebender/fearless_simd/issues/40"
)]

use fearless_simd::{Level, Select, Simd, SimdInto, dispatch, f32x4};
use fearless_simd::{Level, dispatch, f32x4, prelude::*};

// This block shows how to use safe wrappers for compile-time enforcement
// of using valid SIMD intrinsics.
Expand Down
5 changes: 1 addition & 4 deletions fearless_simd/src/generated.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#![cfg_attr(
target_arch = "x86_64",
expect(
clippy::should_implement_trait,
clippy::missing_transmute_annotations,
clippy::useless_transmute,
clippy::new_without_default,
Expand All @@ -23,7 +22,6 @@
#![cfg_attr(
target_arch = "wasm32",
expect(
clippy::should_implement_trait,
clippy::missing_transmute_annotations,
clippy::useless_transmute,
clippy::new_without_default,
Expand All @@ -38,7 +36,6 @@
),
expect(
clippy::missing_safety_doc,
clippy::should_implement_trait,
clippy::missing_transmute_annotations,
clippy::useless_transmute,
clippy::new_without_default,
Expand All @@ -57,7 +54,7 @@ mod fallback;
#[cfg(target_arch = "aarch64")]
mod neon;
mod ops;
mod simd_trait;
pub(crate) mod simd_trait;
mod simd_types;
#[cfg(any(target_arch = "x86", target_arch = "x86_64"))]
mod sse4_2;
Expand Down
Loading