Skip to content

Commit 91c64cd

Browse files
steffahnAmanieu
authored andcommitted
Fix typos “an”→“a”
1 parent a4147d0 commit 91c64cd

File tree

2 files changed

+2
-2
lines changed
  • crates

2 files changed

+2
-2
lines changed

crates/core_arch/src/x86/sse.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1000,7 +1000,7 @@ pub const fn _MM_SHUFFLE(z: u32, y: u32, x: u32, w: u32) -> i32 {
10001000
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm_shuffle_ps)
10011001
///
10021002
/// Note that there appears to be a mistake within Intel's Intrinsics Guide.
1003-
/// `_mm_shuffle_ps` is supposed to take an `i32` instead of an `u32`
1003+
/// `_mm_shuffle_ps` is supposed to take an `i32` instead of a `u32`
10041004
/// as is the case for [other shuffle intrinsics](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm_shuffle_).
10051005
/// Performing an implicit type conversion between an unsigned integer and a signed integer
10061006
/// does not cause a problem in C, however Rust's commitment to strong typing does not allow this.

crates/std_detect/src/detect/arch/x86.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//!
33
//! The features are detected using the `detect_features` function below.
44
//! This function uses the CPUID instruction to read the feature flags from the
5-
//! CPU and encodes them in an `usize` where each bit position represents
5+
//! CPU and encodes them in a `usize` where each bit position represents
66
//! whether a feature is available (bit is set) or unavaiable (bit is cleared).
77
//!
88
//! The enum `Feature` is used to map bit positions to feature names, and the

0 commit comments

Comments
 (0)