Remove allcation in parse_identifier (#12103)

This commit is contained in:
Micha Reiser
2024-06-29 15:00:24 +02:00
committed by GitHub
parent 47b227394e
commit da78de0439

View File

@@ -478,7 +478,7 @@ impl<'src> Parser<'src> {
unreachable!();
};
return ast::Identifier {
id: name.to_string(),
id: name.into_string(),
range,
};
}