Skip to content

Commit d8be00f

Browse files
committed
Fix a comment typo.
1 parent 40db889 commit d8be00f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: compiler/rustc_hir_analysis/src/impl_wf_check/min_specialization.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
//! impl<T, I: Iterator<Item=T>> SpecExtend<T> for I { /* default impl */ }
3535
//! ```
3636
//!
37-
//! We get that the generic pamameters for `impl2` are `[T, std::vec::IntoIter<T>]`.
37+
//! We get that the generic parameters for `impl2` are `[T, std::vec::IntoIter<T>]`.
3838
//! `T` is constrained to be `<I as Iterator>::Item`, so we check only
3939
//! `std::vec::IntoIter<T>` for repeated parameters, which it doesn't have. The
4040
//! predicates of `impl1` are only `T: Sized`, which is also a predicate of

0 commit comments

Comments
 (0)