about summary refs log tree commit diff
diff options
context:
space:
mode:
authorCaleb Zulawski <caleb.zulawski@gmail.com>2024-02-22 07:07:44 -0500
committerGitHub <noreply@github.com>2024-02-22 07:07:44 -0500
commit8c786f31915b67dae6a8f77a61c87490e9d262c6 (patch)
treee055b77691865d84abb52dbdd64862b82f2cb0b1
parent649110751ef4f27440d7cc711b3e07d11bf02d4a (diff)
parentbb4bba5fcf9fce9208e6c2c1de008cec78a9519c (diff)
downloadrust-8c786f31915b67dae6a8f77a61c87490e9d262c6.tar.gz
rust-8c786f31915b67dae6a8f77a61c87490e9d262c6.zip
Merge pull request #397 from taiki-e/imports
Remove redundant imports
-rw-r--r--crates/core_simd/src/vector.rs1
-rw-r--r--crates/core_simd/tests/swizzle_dyn.rs2
2 files changed, 1 insertions, 2 deletions
diff --git a/crates/core_simd/src/vector.rs b/crates/core_simd/src/vector.rs
index 9e97a3161bb..46b1acf25dd 100644
--- a/crates/core_simd/src/vector.rs
+++ b/crates/core_simd/src/vector.rs
@@ -3,7 +3,6 @@ use crate::simd::{
     ptr::{SimdConstPtr, SimdMutPtr},
     LaneCount, Mask, MaskElement, SupportedLaneCount, Swizzle,
 };
-use core::convert::{TryFrom, TryInto};
 
 /// A SIMD vector with the shape of `[T; N]` but the operations of `T`.
 ///
diff --git a/crates/core_simd/tests/swizzle_dyn.rs b/crates/core_simd/tests/swizzle_dyn.rs
index f21a937f01c..19ffe1417c8 100644
--- a/crates/core_simd/tests/swizzle_dyn.rs
+++ b/crates/core_simd/tests/swizzle_dyn.rs
@@ -1,6 +1,6 @@
 #![feature(portable_simd)]
 use core::{fmt, ops::RangeInclusive};
-use test_helpers::{self, biteq, make_runner, prop_assert_biteq};
+use test_helpers::{biteq, make_runner, prop_assert_biteq};
 
 fn swizzle_dyn_scalar_ver<const N: usize>(values: [u8; N], idxs: [u8; N]) -> [u8; N] {
     let mut array = [0; N];