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, {