diff options
| author | bors <bors@rust-lang.org> | 2023-10-05 08:12:55 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-10-05 08:12:55 +0000 |
| commit | e2939270168f2a23ef2ec0b2a193dbb63f92ae07 (patch) | |
| tree | 52ada6f95f403dd029121de9dc60fde48adbc52d /compiler/rustc_codegen_llvm/src | |
| parent | 5236c8e1fa25c45f11f02ae72fc27f64d86ba606 (diff) | |
| parent | 4a14a80605dd187e46badc24c6fda4120d915b0c (diff) | |
| download | rust-e2939270168f2a23ef2ec0b2a193dbb63f92ae07.tar.gz rust-e2939270168f2a23ef2ec0b2a193dbb63f92ae07.zip | |
Auto merge of #116443 - workingjubilee:rollup-r9mh13f, r=workingjubilee
Rollup of 5 pull requests Successful merges: - #116223 (Fix misuses of a vs an) - #116296 (More accurately point to where default return type should go) - #116429 (Diagnostics: Be more careful when suggesting struct fields) - #116431 (Tweak wording of E0562) - #116432 (rustdoc: rename `issue-\d+.rs` tests to have meaningful names (part 2)) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/type_.rs | 2 |
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); |
