Skip to content

Commit

Permalink
refactor(transformer): remove unnecessary type annotation (#5131)
Browse files Browse the repository at this point in the history
Remove unnecessary type annotation introduced in #4925.
  • Loading branch information
overlookmotel committed Aug 23, 2024
1 parent f63b568 commit 5136f01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/oxc_transformer/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
}
Expand Down

0 comments on commit 5136f01

Please sign in to comment.