mirror of
https://github.com/astral-sh/ruff
synced 2026-01-09 15:44:22 -05:00
Remove unnecessary boxing of ASDL product children
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
@@ -72,10 +72,7 @@ pub fn parse_args(func_args: Vec<FunctionArgument>) -> Result<ArgumentList, Lexi
|
||||
keywords.push(ast::Keyword::new(
|
||||
start,
|
||||
end,
|
||||
ast::KeywordData {
|
||||
arg: name,
|
||||
value: Box::new(value),
|
||||
},
|
||||
ast::KeywordData { arg: name, value },
|
||||
));
|
||||
}
|
||||
None => {
|
||||
|
||||
Reference in New Issue
Block a user