From e7f3e280766429fb278b118bc173b2441a57351c Mon Sep 17 00:00:00 2001 From: overlookmotel <557937+overlookmotel@users.noreply.github.com> Date: Sun, 13 Oct 2024 11:58:39 +0000 Subject: [PATCH] refactor(codegen): rename var in `CodeBuffer` (#6510) --- crates/oxc_codegen/src/code_buffer.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/oxc_codegen/src/code_buffer.rs b/crates/oxc_codegen/src/code_buffer.rs index ada3e00f203b6..920c1102fa8a4 100644 --- a/crates/oxc_codegen/src/code_buffer.rs +++ b/crates/oxc_codegen/src/code_buffer.rs @@ -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); } }