about summary refs log tree commit diff
path: root/compiler/rustc_next_trait_solver/src
diff options
context:
space:
mode:
authoromahs <73983677+omahs@users.noreply.github.com>2025-05-12 11:15:46 +0200
committeromahs <73983677+omahs@users.noreply.github.com>2025-05-12 17:20:49 +0000
commit1caaa887003ed84b5c7022ded53ff50e699af666 (patch)
tree364044934e331c2dc6f3ba4fdfd1a0e096cc5178 /compiler/rustc_next_trait_solver/src
parentac9ac0e0f36dcd7f8a8f0405cd003585fe4e4426 (diff)
downloadrust-1caaa887003ed84b5c7022ded53ff50e699af666.tar.gz
rust-1caaa887003ed84b5c7022ded53ff50e699af666.zip
Fix typos
Diffstat (limited to 'compiler/rustc_next_trait_solver/src')
-rw-r--r--compiler/rustc_next_trait_solver/src/solve/assembly/structural_traits.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_next_trait_solver/src/solve/assembly/structural_traits.rs b/compiler/rustc_next_trait_solver/src/solve/assembly/structural_traits.rs
index b16f74cd8e4..2a2b462a36c 100644
--- a/compiler/rustc_next_trait_solver/src/solve/assembly/structural_traits.rs
+++ b/compiler/rustc_next_trait_solver/src/solve/assembly/structural_traits.rs
@@ -945,7 +945,7 @@ where
 
         // This is quite similar to the `projection_may_match` we use in unsizing,
         // but here we want to unify a projection predicate against an alias term
-        // so we can replace it with the the projection predicate's term.
+        // so we can replace it with the projection predicate's term.
         let mut matching_projections = replacements
             .iter()
             .filter(|source_projection| self.projection_may_match(**source_projection, alias_term));