about summary refs log tree commit diff
path: root/src/tools/rustfmt/tests/source
diff options
context:
space:
mode:
authorydah <13041216+ydah@users.noreply.github.com>2022-05-20 10:39:10 +0900
committerydah <13041216+ydah@users.noreply.github.com>2022-05-20 10:39:10 +0900
commit36ad596ef3006f67f2533cd4ac540c20c5e1f1d3 (patch)
treefd59d67a4ad721e5ffb0fb09b2dc098f25c19323 /src/tools/rustfmt/tests/source
parentc0672870491e84362f76ddecd50fa229f9b06dff (diff)
downloadrust-36ad596ef3006f67f2533cd4ac540c20c5e1f1d3.tar.gz
rust-36ad596ef3006f67f2533cd4ac540c20c5e1f1d3.zip
Fix typo
This PR is fixes typo "avaiable" to "available".
Diffstat (limited to 'src/tools/rustfmt/tests/source')
-rw-r--r--src/tools/rustfmt/tests/source/cfg_if/detect/arch/x86.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/rustfmt/tests/source/cfg_if/detect/arch/x86.rs b/src/tools/rustfmt/tests/source/cfg_if/detect/arch/x86.rs
index 4c71a2c6ab9..d26f4ee894f 100644
--- a/src/tools/rustfmt/tests/source/cfg_if/detect/arch/x86.rs
+++ b/src/tools/rustfmt/tests/source/cfg_if/detect/arch/x86.rs
@@ -3,7 +3,7 @@
 //! The features are detected using the `detect_features` function below.
 //! This function uses the CPUID instruction to read the feature flags from the
 //! 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 unavailable (bit is cleared).
 //!
 //! The enum `Feature` is used to map bit positions to feature names, and the
 //! the `__crate::detect::check_for!` macro is used to map string literals (e.g.,