Skip to content

Commit

Permalink
Add assoc const LANES
Browse files Browse the repository at this point in the history
  • Loading branch information
workingjubilee committed Jun 22, 2021
1 parent 81ceda8 commit ad8171e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/core_simd/src/array.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ where
{
/// The scalar type in every lane of this vector type.
type Scalar: Copy + Sized;
/// The number of lanes for this vector.
const LANES: usize = LANES;

/// Generates a SIMD vector with the same value in every lane.
#[must_use]
Expand Down

0 comments on commit ad8171e

Please sign in to comment.