about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm
diff options
context:
space:
mode:
authorcui fliter <imcusg@gmail.com>2023-09-28 16:15:41 +0800
committercui fliter <imcusg@gmail.com>2023-10-04 08:01:11 +0800
commitf44d116e1f9a513b8730c1629bf17592bcd9784a (patch)
treea27e0d5957d1cd330d28382ee3f2f92ee2aca54d /compiler/rustc_codegen_llvm
parentaeaa5c30e5c9041264a2e8314b68ad84c2dc3169 (diff)
downloadrust-f44d116e1f9a513b8730c1629bf17592bcd9784a.tar.gz
rust-f44d116e1f9a513b8730c1629bf17592bcd9784a.zip
Fix misuses of a vs an
Signed-off-by: cui fliter <imcusg@gmail.com>
Diffstat (limited to 'compiler/rustc_codegen_llvm')
-rw-r--r--compiler/rustc_codegen_llvm/src/type_.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/type_.rs b/compiler/rustc_codegen_llvm/src/type_.rs
index 8db6195d931..06b7703672f 100644
--- a/compiler/rustc_codegen_llvm/src/type_.rs
+++ b/compiler/rustc_codegen_llvm/src/type_.rs
@@ -112,7 +112,7 @@ impl<'ll> CodegenCx<'ll, '_> {
         }
     }
 
-    /// Return a LLVM type that has at most the required alignment,
+    /// Return an LLVM type that has at most the required alignment,
     /// and exactly the required size, as a best-effort padding array.
     pub(crate) fn type_padding_filler(&self, size: Size, align: Align) -> &'ll Type {
         let unit = Integer::approximate_align(self, align);