Skip to content

Commit

Permalink
[portable-simd] Fix build break and doc test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
dpaoliello committed Mar 22, 2024
1 parent ef4009d commit 08bd6e0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions library/portable-simd/crates/core_simd/src/vector.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
use crate::convert::{TryFrom, TryInto};
use crate::simd::{
cmp::SimdPartialOrd,
num::SimdUint,
Expand Down Expand Up @@ -324,7 +325,7 @@ where
/// # #![feature(portable_simd)]
/// # #[cfg(feature = "as_crate")] use core_simd::simd;
/// # #[cfg(not(feature = "as_crate"))] use core::simd;
/// # use simd::{Simd, Mask};
/// # use simd::Simd;
/// let vec: Vec<i32> = vec![10, 11];
///
/// let result = Simd::<i32, 4>::load_or_default(&vec);
Expand All @@ -347,7 +348,7 @@ where
/// # #![feature(portable_simd)]
/// # #[cfg(feature = "as_crate")] use core_simd::simd;
/// # #[cfg(not(feature = "as_crate"))] use core::simd;
/// # use simd::{Simd, Mask};
/// # use simd::Simd;
/// let vec: Vec<i32> = vec![10, 11];
/// let or = Simd::from_array([-5, -4, -3, -2]);
///
Expand Down

0 comments on commit 08bd6e0

Please sign in to comment.