mirror of https://github.com/astral-sh/ruff
[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:
parent
8795d9f0cb
commit
b2387f4eab
|
|
@ -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`.
|
||||
|
|
|
|||
Loading…
Reference in New Issue