about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJubilee Young <workingjubilee@gmail.com>2023-07-07 04:03:54 -0700
committerJubilee Young <workingjubilee@gmail.com>2023-07-07 04:03:54 -0700
commit7c7dbe0c505ccbc02ff30c1e37381ab1d47bf46f (patch)
treec88b000b33543d9ef93bc726f2e71d5129fa23bf
parent789c38fae2f81985dac3c5181bc888a363ac781e (diff)
downloadrust-7c7dbe0c505ccbc02ff30c1e37381ab1d47bf46f.tar.gz
rust-7c7dbe0c505ccbc02ff30c1e37381ab1d47bf46f.zip
Remove unused import
-rw-r--r--crates/core_simd/src/elements/float.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/core_simd/src/elements/float.rs b/crates/core_simd/src/elements/float.rs
index 22c5fdcd118..501c1c5ddd3 100644
--- a/crates/core_simd/src/elements/float.rs
+++ b/crates/core_simd/src/elements/float.rs
@@ -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]));