mirror of
https://github.com/astral-sh/ruff
synced 2026-01-08 15:14:19 -05:00
Remove allcation in parse_identifier (#12103)
This commit is contained in:
@@ -478,7 +478,7 @@ impl<'src> Parser<'src> {
|
||||
unreachable!();
|
||||
};
|
||||
return ast::Identifier {
|
||||
id: name.to_string(),
|
||||
id: name.into_string(),
|
||||
range,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user