Fix the typo

This commit is contained in:
Yang Hau 2023-01-23 11:00:35 +07:00
parent 582239ac3b
commit e3ef226f7b

View File

@ -72,7 +72,7 @@ impl_integer_intrinsic! {
impl ToBitMask<BitMask=u64> for Mask<_, 64> 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")] #[cfg(feature = "generic_const_exprs")]
pub const fn bitmask_len(lanes: usize) -> usize { pub const fn bitmask_len(lanes: usize) -> usize {
(lanes + 7) / 8 (lanes + 7) / 8