about summary refs log tree commit diff
path: root/compiler/rustc_monomorphize
diff options
context:
space:
mode:
authorAlexander Cyon <alex.cyon@gmail.com>2024-09-02 07:50:22 +0200
committerAlexander Cyon <alex.cyon@gmail.com>2024-09-02 07:50:22 +0200
commit00de006f22f2304bddabb2d00a13af242ea21c17 (patch)
tree3541122ca018d452badc01254881422d4948270c /compiler/rustc_monomorphize
parent78d5c04d9c64a57134e6bd39090847351379e6ae (diff)
downloadrust-00de006f22f2304bddabb2d00a13af242ea21c17.tar.gz
rust-00de006f22f2304bddabb2d00a13af242ea21c17.zip
chore: Fix typos in 'compiler' (batch 2)
Diffstat (limited to 'compiler/rustc_monomorphize')
-rw-r--r--compiler/rustc_monomorphize/src/collector.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_monomorphize/src/collector.rs b/compiler/rustc_monomorphize/src/collector.rs
index 9c820b888d9..8515ab45de2 100644
--- a/compiler/rustc_monomorphize/src/collector.rs
+++ b/compiler/rustc_monomorphize/src/collector.rs
@@ -397,7 +397,7 @@ fn collect_items_rec<'tcx>(
         MonoItem::Static(def_id) => {
             recursion_depth_reset = None;
 
-            // Statics always get evaluted (which is possible because they can't be generic), so for
+            // Statics always get evaluated (which is possible because they can't be generic), so for
             // `MentionedItems` collection there's nothing to do here.
             if mode == CollectionMode::UsedItems {
                 let instance = Instance::mono(tcx, def_id);