about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-11-14 21:50:39 +0100
committerGitHub <noreply@github.com>2023-11-14 21:50:39 +0100
commit2e00c6ffd739cd34c07a9de8193813afbf976595 (patch)
treef05d18ad0caea6fe6d44ee2c926668a7d021c64d /compiler/rustc_codegen_llvm/src
parent52f3a6fdb2586f61acd47be005d7fd46d93a20c1 (diff)
parenta44a4edc0eb4361f998646891ba3728d3c9d9694 (diff)
downloadrust-2e00c6ffd739cd34c07a9de8193813afbf976595.tar.gz
rust-2e00c6ffd739cd34c07a9de8193813afbf976595.zip
Rollup merge of #117911 - catandcoder:master, r=lqd
Fix some typos
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
-rw-r--r--compiler/rustc_codegen_llvm/src/callee.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/callee.rs b/compiler/rustc_codegen_llvm/src/callee.rs
index d5778757caa..0c9f7f19551 100644
--- a/compiler/rustc_codegen_llvm/src/callee.rs
+++ b/compiler/rustc_codegen_llvm/src/callee.rs
@@ -59,7 +59,7 @@ pub fn get_fn<'ll, 'tcx>(cx: &CodegenCx<'ll, 'tcx>, instance: Instance<'tcx>) ->
             // To avoid this, we set the Storage Class to "DllImport" so that
             // LLVM will prefix the name with `__imp_`. Ideally, we'd like the
             // existing logic below to set the Storage Class, but it has an
-            // exemption for MinGW for backwards compatability.
+            // exemption for MinGW for backwards compatibility.
             let llfn = cx.declare_fn(
                 &common::i686_decorated_name(
                     &dllimport,