mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 07:04:49 +00:00
fix: typo
This commit is contained in:
parent
d2aba91a0c
commit
fc53c59388
1 changed files with 1 additions and 1 deletions
|
@ -832,7 +832,7 @@ impl<'a> InferenceContext<'a> {
|
|||
self.return_coercion = Some(CoerceMany::new(self.return_ty.clone()));
|
||||
|
||||
// Functions might be associated items that define ATPITs.
|
||||
// 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.
|
||||
// So, it suffices to check for params and return types.
|
||||
params_and_ret_tys.push(self.return_ty.clone());
|
||||
self.insert_atpit_coercion_table(params_and_ret_tys.iter());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue