diff options
| author | Shoyu Vanilla <modulo641@gmail.com> | 2024-03-16 03:53:55 +0900 |
|---|---|---|
| committer | Shoyu Vanilla <modulo641@gmail.com> | 2024-03-16 03:53:55 +0900 |
| commit | fc53c59388ea319a37cc599b1cdeef6a0f4f5ef1 (patch) | |
| tree | c24a9645f8da5cf31bd687757af5a66b81c09db2 | |
| parent | d2aba91a0c58111b9a5df1e2a1f26b8caf45be2e (diff) | |
| download | rust-fc53c59388ea319a37cc599b1cdeef6a0f4f5ef1.tar.gz rust-fc53c59388ea319a37cc599b1cdeef6a0f4f5ef1.zip | |
fix: typo
| -rw-r--r-- | crates/hir-ty/src/infer.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir-ty/src/infer.rs b/crates/hir-ty/src/infer.rs index 8847f7e24f6..29e12799451 100644 --- a/crates/hir-ty/src/infer.rs +++ b/crates/hir-ty/src/infer.rs @@ -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()); |
