Skip to content

Commit 08bd6e0

Browse files
committed
[portable-simd] Fix build break and doc test failure
1 parent ef4009d commit 08bd6e0

File tree

1 file changed

+3
-2
lines changed
  • library/portable-simd/crates/core_simd/src

1 file changed

+3
-2
lines changed

library/portable-simd/crates/core_simd/src/vector.rs

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
use crate::convert::{TryFrom, TryInto};
12
use crate::simd::{
23
cmp::SimdPartialOrd,
34
num::SimdUint,
@@ -324,7 +325,7 @@ where
324325
/// # #![feature(portable_simd)]
325326
/// # #[cfg(feature = "as_crate")] use core_simd::simd;
326327
/// # #[cfg(not(feature = "as_crate"))] use core::simd;
327-
/// # use simd::{Simd, Mask};
328+
/// # use simd::Simd;
328329
/// let vec: Vec<i32> = vec![10, 11];
329330
///
330331
/// let result = Simd::<i32, 4>::load_or_default(&vec);
@@ -347,7 +348,7 @@ where
347348
/// # #![feature(portable_simd)]
348349
/// # #[cfg(feature = "as_crate")] use core_simd::simd;
349350
/// # #[cfg(not(feature = "as_crate"))] use core::simd;
350-
/// # use simd::{Simd, Mask};
351+
/// # use simd::Simd;
351352
/// let vec: Vec<i32> = vec![10, 11];
352353
/// let or = Simd::from_array([-5, -4, -3, -2]);
353354
///

0 commit comments

Comments
 (0)