refactor(codegen): rename CodeBuffer::print_ascii_bytes method (#6507)

Pure refactor.
This commit is contained in:
overlookmotel 2024-10-13 11:19:08 +00:00
parent cd9fe9ec03
commit 1bbd383d0f

View file

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