mirror of
https://github.com/danbulant/oxc
synced 2026-05-19 12:19:15 +00:00
refactor(transformer): remove unnecessary type annotation (#5131)
Remove unnecessary type annotation introduced in #4925.
This commit is contained in:
parent
f63b568c48
commit
5136f011d9
1 changed files with 1 additions and 1 deletions
|
|
@ -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 }
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue