We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d1aafc commit 04c6f75Copy full SHA for 04c6f75
1 file changed
crates/oxc_ast/src/serialize.rs
@@ -149,8 +149,8 @@ impl Program<'_> {
149
}
150
151
/// # Panics
152
- pub fn serializer(&self) -> serde_json::Serializer<std::vec::Vec<u8>, EcmaFormatter> {
153
- let buf = std::vec::Vec::new();
+ pub fn serializer(&self) -> serde_json::Serializer<Vec<u8>, EcmaFormatter> {
+ let buf = Vec::new();
154
let mut ser = serde_json::Serializer::with_formatter(buf, EcmaFormatter);
155
self.serialize(&mut ser).unwrap();
156
ser
0 commit comments