Skip to content

Commit

Permalink
refactor(codegen): rename CodeBuffer::print_ascii_bytes method (#6507)
Browse files Browse the repository at this point in the history
Pure refactor.
  • Loading branch information
overlookmotel committed Oct 13, 2024
1 parent cd9fe9e commit 1bbd383
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/oxc_codegen/src/code_buffer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<I>(&mut self, bytes: I)
pub fn print_ascii_bytes<I>(&mut self, bytes: I)
where
I: IntoIterator<Item = u8>,
{
Expand Down

0 comments on commit 1bbd383

Please sign in to comment.