about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDezhi Wu <wu543065657@163.com>2022-08-18 10:13:37 +0800
committerDezhi Wu <wu543065657@163.com>2022-08-31 18:24:55 +0800
commite2aec079eb4639d5c706a1aa6894d8f25edcaf37 (patch)
treed2446eeedec102c2669442fd18a765b6acd16eb7
parent210275cc7555d9670a20f0b386afe138eedda91d (diff)
downloadrust-e2aec079eb4639d5c706a1aa6894d8f25edcaf37.tar.gz
rust-e2aec079eb4639d5c706a1aa6894d8f25edcaf37.zip
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
-rw-r--r--crates/core_simd/src/masks/to_bitmask.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/core_simd/src/masks/to_bitmask.rs b/crates/core_simd/src/masks/to_bitmask.rs
index 65d3ce9be65..2235f016c71 100644
--- a/crates/core_simd/src/masks/to_bitmask.rs
+++ b/crates/core_simd/src/masks/to_bitmask.rs
@@ -70,7 +70,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