Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(ast):
AstBuilder
enum builder methods use alloc_*
methods (
#8281) Pure refactor. `AstBuilder` methods can use `alloc_*` methods directly, instead of calling `alloc`. Probably this makes no difference to performance as all these methods are marked `#[inline]` anyway. But in general it's better to use methods which don't return large objects on the stack.
- Loading branch information