mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-16 00:20:38 +00:00
Move ExprConstant::kind
to StringConstant::unicode
(#7180)
This commit is contained in:
parent
31990b8d3f
commit
04f2842e4f
119 changed files with 130 additions and 504 deletions
|
@ -2682,11 +2682,7 @@ impl AstNode for ast::ExprConstant {
|
|||
where
|
||||
V: PreorderVisitor<'a> + ?Sized,
|
||||
{
|
||||
let ast::ExprConstant {
|
||||
value,
|
||||
range: _,
|
||||
kind: _,
|
||||
} = self;
|
||||
let ast::ExprConstant { value, range: _ } = self;
|
||||
visitor.visit_constant(value);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue