Fix typos “an”→“a”

This commit is contained in:
Frank Steffahn
2021-08-22 18:05:15 +02:00
committed by Amanieu d'Antras
parent 5b5df599d3
commit 870cf5751d
2 changed files with 2 additions and 2 deletions

View File

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

View File

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