We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 789c38f commit 7c7dbe0Copy full SHA for 7c7dbe0
crates/core_simd/src/elements/float.rs
@@ -28,7 +28,7 @@ pub trait SimdFloat: Copy + Sealed {
28
/// # #![feature(portable_simd)]
29
/// # #[cfg(feature = "as_crate")] use core_simd::simd;
30
/// # #[cfg(not(feature = "as_crate"))] use core::simd;
31
- /// # use simd::{f32x2, SimdFloat, SimdInt, Simd};
+ /// # use simd::{SimdFloat, SimdInt, Simd};
32
/// let floats: Simd<f32, 4> = Simd::from_array([1.9, -4.5, f32::INFINITY, f32::NAN]);
33
/// let ints = floats.cast::<i32>();
34
/// assert_eq!(ints, Simd::from_array([1, -4, i32::MAX, 0]));
0 commit comments