diff options
| author | Daniel Paoliello <danpao@microsoft.com> | 2024-03-25 11:02:02 -0700 |
|---|---|---|
| committer | Daniel Paoliello <danpao@microsoft.com> | 2024-03-25 13:12:06 -0700 |
| commit | 61daba974050e2fb479927f9b5c4a1518e61e674 (patch) | |
| tree | a69af4d2ff62e799fcd136d2c45a03add5a44bf1 | |
| parent | 8d2208ea3df77d09e4bfb8a28e131cc06bc6183a (diff) | |
| download | rust-61daba974050e2fb479927f9b5c4a1518e61e674.tar.gz rust-61daba974050e2fb479927f9b5c4a1518e61e674.zip | |
Import the 2021 prelude in the core crate
| -rw-r--r-- | crates/core_simd/src/lib.rs | 4 | ||||
| -rw-r--r-- | crates/core_simd/src/vector.rs | 1 |
2 files changed, 0 insertions, 5 deletions
diff --git a/crates/core_simd/src/lib.rs b/crates/core_simd/src/lib.rs index 7a161b7e01d..48514e52587 100644 --- a/crates/core_simd/src/lib.rs +++ b/crates/core_simd/src/lib.rs @@ -45,10 +45,6 @@ #![unstable(feature = "portable_simd", issue = "86656")] //! Portable SIMD module. -#[prelude_import] -#[allow(unused_imports)] -use core::prelude::v1::*; - #[path = "mod.rs"] mod core_simd; pub use self::core_simd::simd; diff --git a/crates/core_simd/src/vector.rs b/crates/core_simd/src/vector.rs index 6c8205b112c..8dbdfc0e1fe 100644 --- a/crates/core_simd/src/vector.rs +++ b/crates/core_simd/src/vector.rs @@ -4,7 +4,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`. /// |
