[ty] fix typo in HasDefinition trait docstring (#21689)

## Summary
Fixes a typo in the docstring for the definition method in the
HasDefinition trait
This commit is contained in:
RasmusNygren
2025-11-29 12:13:54 +01:00
committed by GitHub
parent 8795d9f0cb
commit b2387f4eab

View File

@@ -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`.