Skip to content

Commit 1b413d5

Browse files
committed
[portable-simd] Fix doc test failure
1 parent 86a391c commit 1b413d5

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ where
325325
/// # #![feature(portable_simd)]
326326
/// # #[cfg(feature = "as_crate")] use core_simd::simd;
327327
/// # #[cfg(not(feature = "as_crate"))] use core::simd;
328-
/// # use simd::{Simd, Mask};
328+
/// # use simd::Simd;
329329
/// let vec: Vec<i32> = vec![10, 11];
330330
///
331331
/// let result = Simd::<i32, 4>::load_or_default(&vec);
@@ -348,7 +348,7 @@ where
348348
/// # #![feature(portable_simd)]
349349
/// # #[cfg(feature = "as_crate")] use core_simd::simd;
350350
/// # #[cfg(not(feature = "as_crate"))] use core::simd;
351-
/// # use simd::{Simd, Mask};
351+
/// # use simd::Simd;
352352
/// let vec: Vec<i32> = vec![10, 11];
353353
/// let or = Simd::from_array([-5, -4, -3, -2]);
354354
///

0 commit comments

Comments
 (0)