mirror of
https://github.com/astral-sh/ruff.git
synced 2025-07-24 05:26:23 +00:00
Remove allcation in parse_identifier
(#12103)
This commit is contained in:
parent
47b227394e
commit
da78de0439
1 changed files with 1 additions and 1 deletions
|
@ -478,7 +478,7 @@ impl<'src> Parser<'src> {
|
|||
unreachable!();
|
||||
};
|
||||
return ast::Identifier {
|
||||
id: name.to_string(),
|
||||
id: name.into_string(),
|
||||
range,
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue