Skip to content

Commit

Permalink
refactor(codegen): rename var in CodeBuffer (oxc-project#6510)
Browse files Browse the repository at this point in the history
  • Loading branch information
overlookmotel committed Oct 13, 2024
1 parent 39c2e66 commit e7f3e28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/oxc_codegen/src/code_buffer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -264,8 +264,8 @@ impl CodeBuffer {
let iter = bytes.into_iter();
let hint = iter.size_hint();
self.buf.reserve(hint.1.unwrap_or(hint.0));
for c in iter {
self.print_ascii_byte(c);
for byte in iter {
self.print_ascii_byte(byte);
}
}

Expand Down

0 comments on commit e7f3e28

Please sign in to comment.