Skip to content

Commit c1858f2

Browse files
author
James Duley
committed
Fix AArch64 typo in comments
1 parent 4d65dd0 commit c1858f2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/libcore/ffi.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ impl fmt::Debug for VaListImpl {
6767
}
6868

6969
/// AArch64 ABI implementation of a `va_list`. See the
70-
/// [Aarch64 Procedure Call Standard] for more details.
70+
/// [AArch64 Procedure Call Standard] for more details.
7171
///
7272
/// [AArch64 Procedure Call Standard]:
7373
/// http://infocenter.arm.com/help/topic/com.arm.doc.ihi0055b/IHI0055B_aapcs64.pdf

src/librustc_codegen_llvm/va_arg.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -108,12 +108,12 @@ pub(super) fn emit_va_arg(
108108
emit_ptr_va_arg(bx, addr, target_ty, false,
109109
Align::from_bytes(4).unwrap(), true)
110110
}
111-
// Windows Aarch64
111+
// Windows AArch64
112112
("aarch64", true) => {
113113
emit_ptr_va_arg(bx, addr, target_ty, false,
114114
Align::from_bytes(8).unwrap(), false)
115115
}
116-
// iOS Aarch64
116+
// iOS AArch64
117117
("aarch64", _) if target.target_os == "ios" => {
118118
emit_ptr_va_arg(bx, addr, target_ty, false,
119119
Align::from_bytes(8).unwrap(), true)

0 commit comments

Comments
 (0)