mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 10:13:54 +00:00
Remove unused import
This commit is contained in:
parent
789c38fae2
commit
7c7dbe0c50
@ -28,7 +28,7 @@ pub trait SimdFloat: Copy + Sealed {
|
||||
/// # #![feature(portable_simd)]
|
||||
/// # #[cfg(feature = "as_crate")] use core_simd::simd;
|
||||
/// # #[cfg(not(feature = "as_crate"))] use core::simd;
|
||||
/// # use simd::{f32x2, SimdFloat, SimdInt, Simd};
|
||||
/// # use simd::{SimdFloat, SimdInt, Simd};
|
||||
/// let floats: Simd<f32, 4> = Simd::from_array([1.9, -4.5, f32::INFINITY, f32::NAN]);
|
||||
/// let ints = floats.cast::<i32>();
|
||||
/// assert_eq!(ints, Simd::from_array([1, -4, i32::MAX, 0]));
|
||||
|
Loading…
Reference in New Issue
Block a user