about summary refs log tree commit diff
diff options
context:
space:
mode:
authorShoyu Vanilla <modulo641@gmail.com>2024-03-16 03:53:55 +0900
committerShoyu Vanilla <modulo641@gmail.com>2024-03-16 03:53:55 +0900
commitfc53c59388ea319a37cc599b1cdeef6a0f4f5ef1 (patch)
treec24a9645f8da5cf31bd687757af5a66b81c09db2
parentd2aba91a0c58111b9a5df1e2a1f26b8caf45be2e (diff)
downloadrust-fc53c59388ea319a37cc599b1cdeef6a0f4f5ef1.tar.gz
rust-fc53c59388ea319a37cc599b1cdeef6a0f4f5ef1.zip
fix: typo
-rw-r--r--crates/hir-ty/src/infer.rs2
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());