about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorJubilee <46493976+workingjubilee@users.noreply.github.com>2023-10-05 00:56:29 -0700
committerGitHub <noreply@github.com>2023-10-05 00:56:29 -0700
commitea3454eabb6ac1ac4c0fb1326e72b4f19505b0b8 (patch)
tree7e18557b3c4ab0b235629844dbc21d4cb61be7f9 /compiler/rustc_codegen_llvm/src
parent5236c8e1fa25c45f11f02ae72fc27f64d86ba606 (diff)
parentf44d116e1f9a513b8730c1629bf17592bcd9784a (diff)
downloadrust-ea3454eabb6ac1ac4c0fb1326e72b4f19505b0b8.tar.gz
rust-ea3454eabb6ac1ac4c0fb1326e72b4f19505b0b8.zip
Rollup merge of #116223 - catandcoder:master, r=cjgillot
Fix misuses of a vs an

Fixes the misuse of "a" vs "an", according to English grammatical
expectations and using https://www.a-or-an.com/
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
-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);