diff --git a/compiler/rustc_codegen_llvm/src/consts.rs b/compiler/rustc_codegen_llvm/src/consts.rs index 98b412f9397..a1ab590335a 100644 --- a/compiler/rustc_codegen_llvm/src/consts.rs +++ b/compiler/rustc_codegen_llvm/src/consts.rs @@ -545,7 +545,7 @@ impl<'ll> StaticMethods for CodegenCx<'ll, '_> { // // However, unconditional use of `llvm.compiler.used` caused a nontrivial amount of // ecosystem breakage, especially on Mach-O targets. To resolve this, we compile it - // as llvm.used on ELF targets and llvm.compiler.used elsewhere, which and should be + // as llvm.compiler.used on ELF targets and llvm.used elsewhere, which should be // equivalent to how we compiled `#[used]` before LLVM 13, as `llvm.used` and // `llvm.compiler.used` were treated the same on ELF targets prior in earlier LLVM // versions (additionally, it seems to be how Clang handles `__attribute__((used))`,