We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d2aba91 commit fc53c59Copy full SHA for fc53c59
crates/hir-ty/src/infer.rs
@@ -832,7 +832,7 @@ impl<'a> InferenceContext<'a> {
832
self.return_coercion = Some(CoerceMany::new(self.return_ty.clone()));
833
834
// Functions might be associated items that define ATPITs.
835
- // To define an ATPITs, that ATPIT must appear in the function's signitures.
+ // To define an ATPITs, that ATPIT must appear in the function's signatures.
836
// So, it suffices to check for params and return types.
837
params_and_ret_tys.push(self.return_ty.clone());
838
self.insert_atpit_coercion_table(params_and_ret_tys.iter());
0 commit comments