We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40db889 commit d8be00fCopy full SHA for d8be00f
compiler/rustc_hir_analysis/src/impl_wf_check/min_specialization.rs
@@ -34,7 +34,7 @@
34
//! impl<T, I: Iterator<Item=T>> SpecExtend<T> for I { /* default impl */ }
35
//! ```
36
//!
37
-//! 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>]`.
38
//! `T` is constrained to be `<I as Iterator>::Item`, so we check only
39
//! `std::vec::IntoIter<T>` for repeated parameters, which it doesn't have. The
40
//! predicates of `impl1` are only `T: Sized`, which is also a predicate of
0 commit comments