mirror of
https://github.com/astral-sh/ruff.git
synced 2025-11-12 00:44:40 +00:00
Pull all types in corpus tests (#12919)
This commit is contained in:
parent
25f5ae44c4
commit
dd0a7ec73e
5 changed files with 160 additions and 46 deletions
|
|
@ -248,6 +248,10 @@ impl AssignmentDefinitionKind {
|
|||
pub(crate) fn assignment(&self) -> &ast::StmtAssign {
|
||||
self.assignment.node()
|
||||
}
|
||||
|
||||
pub(crate) fn target(&self) -> &ast::ExprName {
|
||||
self.target.node()
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone, Eq, PartialEq, Hash, Debug)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue