about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/ty/instance.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-09-02 22:35:21 +0200
committerGitHub <noreply@github.com>2024-09-02 22:35:21 +0200
commit1d9eb9df7fd7caeb4e9fe6915e2a30162ebb5bc1 (patch)
tree90e1f4e93a1bfaa8ba76d76db91a0f90fc0b2169 /compiler/rustc_middle/src/ty/instance.rs
parentcfb12716e903df2e55ed20e1b82baae84fb866d1 (diff)
parent00de006f22f2304bddabb2d00a13af242ea21c17 (diff)
downloadrust-1d9eb9df7fd7caeb4e9fe6915e2a30162ebb5bc1.tar.gz
rust-1d9eb9df7fd7caeb4e9fe6915e2a30162ebb5bc1.zip
Rollup merge of #129877 - Sajjon:sajjon_fix_typos_batch_2, r=fee1-dead
chore: Fix typos in 'compiler' (batch 2)

Batch 2/3: Fixes typos in `compiler`

(See [issue](https://github.com/rust-lang/rust/issues/129874) tracking all PRs with typos fixes)
Diffstat (limited to 'compiler/rustc_middle/src/ty/instance.rs')
-rw-r--r--compiler/rustc_middle/src/ty/instance.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/ty/instance.rs b/compiler/rustc_middle/src/ty/instance.rs
index 7d5f0f1e9c4..072951d1319 100644
--- a/compiler/rustc_middle/src/ty/instance.rs
+++ b/compiler/rustc_middle/src/ty/instance.rs
@@ -38,7 +38,7 @@ pub struct Instance<'tcx> {
     pub args: GenericArgsRef<'tcx>,
 }
 
-/// Describes why a `ReifyShim` was created. This is needed to distingish a ReifyShim created to
+/// Describes why a `ReifyShim` was created. This is needed to distinguish a ReifyShim created to
 /// adjust for things like `#[track_caller]` in a vtable from a `ReifyShim` created to produce a
 /// function pointer from a vtable entry.
 /// Currently, this is only used when KCFI is enabled, as only KCFI needs to treat those two