refactor(transformer): remove unnecessary type annotation (#5131)

Remove unnecessary type annotation introduced in #4925.
This commit is contained in:
overlookmotel 2024-08-23 23:10:37 +00:00
parent f63b568c48
commit 5136f011d9

View file

@ -108,7 +108,7 @@ impl<'a> Transformer<'a> {
scopes: ScopeTree,
program: &mut Program<'a>,
) -> TransformerReturn {
let allocator: &'a Allocator = self.ctx.ast.allocator;
let allocator = self.ctx.ast.allocator;
let (symbols, scopes) = traverse_mut(&mut self, allocator, program, symbols, scopes);
TransformerReturn { errors: self.ctx.take_errors(), symbols, scopes }
}