]> git.lizzy.rs Git - rust.git/commitdiff
Fix AArch64 typo in comments
authorJames Duley <james.duley@arm.com>
Sun, 20 Jan 2019 11:47:29 +0000 (11:47 +0000)
committerJames Duley <james.duley@arm.com>
Tue, 19 Mar 2019 17:07:09 +0000 (17:07 +0000)
src/libcore/ffi.rs
src/librustc_codegen_llvm/va_arg.rs

index 3daa2474c521bab3f3284631dc44a04a46cb66b6..96dbfdcb57de46b272a9fc0c01cd8ee719382c10 100644 (file)
@@ -67,7 +67,7 @@ fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
 }
 
 /// AArch64 ABI implementation of a `va_list`. See the
-/// [Aarch64 Procedure Call Standard] for more details.
+/// [AArch64 Procedure Call Standard] for more details.
 ///
 /// [AArch64 Procedure Call Standard]:
 /// http://infocenter.arm.com/help/topic/com.arm.doc.ihi0055b/IHI0055B_aapcs64.pdf
index 7aceaea4510ceb156246f1cea7cafcb110b548fc..7fc17d17f99df4c4a0e4d512d8e4c1e2f81c304b 100644 (file)
@@ -108,12 +108,12 @@ pub(super) fn emit_va_arg(
             emit_ptr_va_arg(bx, addr, target_ty, false,
                             Align::from_bytes(4).unwrap(), true)
         }
-        // Windows Aarch64
+        // Windows AArch64
         ("aarch64", true) => {
             emit_ptr_va_arg(bx, addr, target_ty, false,
                             Align::from_bytes(8).unwrap(), false)
         }
-        // iOS Aarch64
+        // iOS AArch64
         ("aarch64", _) if target.target_os == "ios" => {
             emit_ptr_va_arg(bx, addr, target_ty, false,
                             Align::from_bytes(8).unwrap(), true)