about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorcui fliter <imcusg@gmail.com>2023-11-14 23:06:50 +0800
committercui fliter <imcusg@gmail.com>2023-11-14 23:06:50 +0800
commita44a4edc0eb4361f998646891ba3728d3c9d9694 (patch)
treef9c1c3f8fa73a6584539f09902a9fc04e3830fff /compiler/rustc_codegen_llvm/src
parentfa14810f21f47aa55ae7b3dd7c6d32c41e2072f8 (diff)
downloadrust-a44a4edc0eb4361f998646891ba3728d3c9d9694.tar.gz
rust-a44a4edc0eb4361f998646891ba3728d3c9d9694.zip
Fix some typos
Signed-off-by: cui fliter <imcusg@gmail.com>
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,