mirror of
https://github.com/zaphar/ucg.git
synced 2025-07-22 18:19:54 -04:00
parent
49a64251a4
commit
ebb06c169b
@ -139,9 +139,10 @@ impl YamlConverter {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
fn write(&self, v: &Val, w: &mut dyn Write) -> ConvertResult {
|
fn write(&self, v: &Val, mut w: &mut dyn Write) -> ConvertResult {
|
||||||
let jsn_val = self.convert_value(v)?;
|
let jsn_val = self.convert_value(v)?;
|
||||||
serde_yaml::to_writer(w, &jsn_val)?;
|
serde_yaml::to_writer(&mut w, &jsn_val)?;
|
||||||
|
writeln!(w, "")?;
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user