Skip to content

Commit

Permalink
Merge pull request rust-lang#327 from howjmay/typo
Browse files Browse the repository at this point in the history
Fix the typo
  • Loading branch information
calebzulawski authored Jan 23, 2023
2 parents 582239a + e3ef226 commit 9bd30e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/core_simd/src/masks/to_bitmask.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ impl_integer_intrinsic! {
impl ToBitMask<BitMask=u64> for Mask<_, 64>
}

/// Returns the minimum numnber of bytes in a bitmask with `lanes` lanes.
/// Returns the minimum number of bytes in a bitmask with `lanes` lanes.
#[cfg(feature = "generic_const_exprs")]
pub const fn bitmask_len(lanes: usize) -> usize {
(lanes + 7) / 8
Expand Down

0 comments on commit 9bd30e7

Please sign in to comment.