Skip to content

Commit 86940d2

Browse files
committed
Fix typo
This PR is fixes typo "avaiable" to "available".
1 parent b507c60 commit 86940d2

File tree

2 files changed

+2
-2
lines changed
  • tests
    • source/cfg_if/detect/arch
    • target/cfg_if/detect/arch

2 files changed

+2
-2
lines changed

Diff for: tests/source/cfg_if/detect/arch/x86.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
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
55
//! CPU and encodes them in a `usize` where each bit position represents
6-
//! whether a feature is available (bit is set) or unavaiable (bit is cleared).
6+
//! whether a feature is available (bit is set) or unavailable (bit is cleared).
77
//!
88
//! The enum `Feature` is used to map bit positions to feature names, and the
99
//! the `__crate::detect::check_for!` macro is used to map string literals (e.g.,

Diff for: tests/target/cfg_if/detect/arch/x86.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
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
55
//! CPU and encodes them in a `usize` where each bit position represents
6-
//! whether a feature is available (bit is set) or unavaiable (bit is cleared).
6+
//! whether a feature is available (bit is set) or unavailable (bit is cleared).
77
//!
88
//! The enum `Feature` is used to map bit positions to feature names, and the
99
//! the `__crate::detect::check_for!` macro is used to map string literals (e.g.,

0 commit comments

Comments
 (0)