about summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/src/impl_wf_check
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2025-01-29 13:23:30 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2025-01-31 08:28:14 +1100
commitd8be00fd44f6d152494ea23734fe692abd47cf36 (patch)
tree7b684f2a4284cb438f1a23fb896af58f3efb2429 /compiler/rustc_hir_analysis/src/impl_wf_check
parent40db88979de16d4db91e9fd493b8d79ea4499e67 (diff)
downloadrust-d8be00fd44f6d152494ea23734fe692abd47cf36.tar.gz
rust-d8be00fd44f6d152494ea23734fe692abd47cf36.zip
Fix a comment typo.
Diffstat (limited to 'compiler/rustc_hir_analysis/src/impl_wf_check')
-rw-r--r--compiler/rustc_hir_analysis/src/impl_wf_check/min_specialization.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_hir_analysis/src/impl_wf_check/min_specialization.rs b/compiler/rustc_hir_analysis/src/impl_wf_check/min_specialization.rs
index ce10113c4f5..af1107b499f 100644
--- a/compiler/rustc_hir_analysis/src/impl_wf_check/min_specialization.rs
+++ b/compiler/rustc_hir_analysis/src/impl_wf_check/min_specialization.rs
@@ -34,7 +34,7 @@
 //! impl<T, I: Iterator<Item=T>> SpecExtend<T> for I { /* default impl */ }
 //! ```
 //!
-//! We get that the generic pamameters for `impl2` are `[T, std::vec::IntoIter<T>]`.
+//! We get that the generic parameters for `impl2` are `[T, std::vec::IntoIter<T>]`.
 //! `T` is constrained to be `<I as Iterator>::Item`, so we check only
 //! `std::vec::IntoIter<T>` for repeated parameters, which it doesn't have. The
 //! predicates of `impl1` are only `T: Sized`, which is also a predicate of