From b2387f4eab542203cc5cf838bb72457e50f17f16 Mon Sep 17 00:00:00 2001 From: RasmusNygren Date: Sat, 29 Nov 2025 12:13:54 +0100 Subject: [PATCH] [ty] fix typo in HasDefinition trait docstring (#21689) ## Summary Fixes a typo in the docstring for the definition method in the HasDefinition trait --- crates/ty_python_semantic/src/semantic_model.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ty_python_semantic/src/semantic_model.rs b/crates/ty_python_semantic/src/semantic_model.rs index 3f2a377c20..e2c550b0b3 100644 --- a/crates/ty_python_semantic/src/semantic_model.rs +++ b/crates/ty_python_semantic/src/semantic_model.rs @@ -397,7 +397,7 @@ pub trait HasType { } pub trait HasDefinition { - /// Returns the inferred type of `self`. + /// Returns the definition of `self`. /// /// ## Panics /// May panic if `self` is from another file than `model`.