File tree 1 file changed +3
-2
lines changed
library/portable-simd/crates/core_simd/src
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change
1
+ use crate :: convert:: { TryFrom , TryInto } ;
1
2
use crate :: simd:: {
2
3
cmp:: SimdPartialOrd ,
3
4
num:: SimdUint ,
@@ -324,7 +325,7 @@ where
324
325
/// # #![feature(portable_simd)]
325
326
/// # #[cfg(feature = "as_crate")] use core_simd::simd;
326
327
/// # #[cfg(not(feature = "as_crate"))] use core::simd;
327
- /// # use simd::{ Simd, Mask} ;
328
+ /// # use simd::Simd;
328
329
/// let vec: Vec<i32> = vec![10, 11];
329
330
///
330
331
/// let result = Simd::<i32, 4>::load_or_default(&vec);
@@ -347,7 +348,7 @@ where
347
348
/// # #![feature(portable_simd)]
348
349
/// # #[cfg(feature = "as_crate")] use core_simd::simd;
349
350
/// # #[cfg(not(feature = "as_crate"))] use core::simd;
350
- /// # use simd::{ Simd, Mask} ;
351
+ /// # use simd::Simd;
351
352
/// let vec: Vec<i32> = vec![10, 11];
352
353
/// let or = Simd::from_array([-5, -4, -3, -2]);
353
354
///
You can’t perform that action at this time.
0 commit comments