[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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

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