From 0953b8fe287e9ded96bc6540c59cde1536f32739 Mon Sep 17 00:00:00 2001 From: CodeMan62 Date: Tue, 29 Jul 2025 23:11:09 +0530 Subject: [PATCH 1/2] fix a typo --- crates/ty_python_semantic/src/types/infer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ty_python_semantic/src/types/infer.rs b/crates/ty_python_semantic/src/types/infer.rs index 000e6204dd1d0..5a5996f510753 100644 --- a/crates/ty_python_semantic/src/types/infer.rs +++ b/crates/ty_python_semantic/src/types/infer.rs @@ -10810,7 +10810,7 @@ fn contains_string_literal(expr: &ast::Expr) -> bool { /// Map based on a `Vec`. It doesn't enforce /// uniqueness on insertion. Instead, it relies on the caller -/// that elements are uniuqe. For example, the way we visit definitions +/// that elements are unique. For example, the way we visit definitions /// in the `TypeInference` builder make already implicitly guarantees that each definition /// is only visited once. #[derive(Debug, Clone, PartialEq, Eq, Hash)] From 790cd907e4ce74e9eac45eed8ac19a645a81d0a2 Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Tue, 29 Jul 2025 18:50:05 +0100 Subject: [PATCH 2/2] Update crates/ty_python_semantic/src/types/infer.rs --- crates/ty_python_semantic/src/types/infer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ty_python_semantic/src/types/infer.rs b/crates/ty_python_semantic/src/types/infer.rs index 5a5996f510753..673eb011f67f6 100644 --- a/crates/ty_python_semantic/src/types/infer.rs +++ b/crates/ty_python_semantic/src/types/infer.rs @@ -10811,7 +10811,7 @@ fn contains_string_literal(expr: &ast::Expr) -> bool { /// Map based on a `Vec`. It doesn't enforce /// uniqueness on insertion. Instead, it relies on the caller /// that elements are unique. For example, the way we visit definitions -/// in the `TypeInference` builder make already implicitly guarantees that each definition +/// in the `TypeInference` builder already implicitly guarantees that each definition /// is only visited once. #[derive(Debug, Clone, PartialEq, Eq, Hash)] struct VecMap(Vec<(K, V)>);