diff --git a/crates/oxc_codegen/src/code_buffer.rs b/crates/oxc_codegen/src/code_buffer.rs index 6d0d9dc1e578b..5f2a1aa6995ab 100644 --- a/crates/oxc_codegen/src/code_buffer.rs +++ b/crates/oxc_codegen/src/code_buffer.rs @@ -352,6 +352,7 @@ impl AsRef<[u8]> for CodeBuffer { &self.buf } } + impl From for String { #[inline] fn from(printer: CodeBuffer) -> Self {