about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFang He <hf.enigma@gmail.com>2025-09-08 18:48:19 +0800
committerFang He <hf.enigma@gmail.com>2025-09-08 18:48:19 +0800
commitde359c569b7c3eb630fb44e9078c4bea012eac99 (patch)
tree287f875a9960cf0d4dc7b59194459bac8c1cd528
parentbe284b697fef4c560e040a433fbe2b832ed8426d (diff)
downloadrust-de359c569b7c3eb630fb44e9078c4bea012eac99.tar.gz
rust-de359c569b7c3eb630fb44e9078c4bea012eac99.zip
fix typos in comment
-rw-r--r--library/std_detect/src/detect/os/linux/aarch64.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/std_detect/src/detect/os/linux/aarch64.rs b/library/std_detect/src/detect/os/linux/aarch64.rs
index 2c36a073b74..c53dbf3fd9b 100644
--- a/library/std_detect/src/detect/os/linux/aarch64.rs
+++ b/library/std_detect/src/detect/os/linux/aarch64.rs
@@ -210,10 +210,10 @@ impl From<auxvec::AuxVec> for AtHwcap {
             ..Default::default()
         };
 
-        // Hardware capabilites from bits 32 to 63 should only
+        // Hardware capabilities from bits 32 to 63 should only
         // be tested on LP64 targets with 64 bits `usize`.
         // On ILP32 targets like `aarch64-unknown-linux-gun_ilp32`,
-        // these hardware capabilites will default to `false`.
+        // these hardware capabilities will default to `false`.
         // https://github.com/rust-lang/rust/issues/146230
         #[cfg(target_pointer_width = "64")]
         {