Fix a bunch of typo

This PR will fix some typos detected by [typos].

I only picked the ones I was sure were spelling errors to fix, mostly in
the comments.

[typos]: https://github.com/crate-ci/typos
This commit is contained in:
Dezhi Wu 2022-08-18 10:13:37 +08:00
parent 210275cc75
commit e2aec079eb

View File

@ -70,7 +70,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