From d8be00fd44f6d152494ea23734fe692abd47cf36 Mon Sep 17 00:00:00 2001 From: Nicholas Nethercote Date: Wed, 29 Jan 2025 13:23:30 +1100 Subject: [PATCH] Fix a comment typo. --- .../rustc_hir_analysis/src/impl_wf_check/min_specialization.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ce10113c4f5b..af1107b499f4 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> SpecExtend for I { /* default impl */ } //! ``` //! -//! We get that the generic pamameters for `impl2` are `[T, std::vec::IntoIter]`. +//! We get that the generic parameters for `impl2` are `[T, std::vec::IntoIter]`. //! `T` is constrained to be `::Item`, so we check only //! `std::vec::IntoIter` for repeated parameters, which it doesn't have. The //! predicates of `impl1` are only `T: Sized`, which is also a predicate of