From 1bbd383d0f5aae7c7752775189eac642199f30d6 Mon Sep 17 00:00:00 2001 From: overlookmotel <557937+overlookmotel@users.noreply.github.com> Date: Sun, 13 Oct 2024 11:19:08 +0000 Subject: [PATCH] refactor(codegen): rename `CodeBuffer::print_ascii_bytes` method (#6507) Pure refactor. --- crates/oxc_codegen/src/code_buffer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/oxc_codegen/src/code_buffer.rs b/crates/oxc_codegen/src/code_buffer.rs index 4581caf4877ee..ada3e00f203b6 100644 --- a/crates/oxc_codegen/src/code_buffer.rs +++ b/crates/oxc_codegen/src/code_buffer.rs @@ -257,7 +257,7 @@ impl CodeBuffer { /// code.print_ascii([b'f', b'o', b'o'].into_iter()); /// assert_eq!(String::from(code), "foo"); /// ``` - pub fn print_ascii(&mut self, bytes: I) + pub fn print_ascii_bytes(&mut self, bytes: I) where I: IntoIterator, {